In the Batalin-Vilkovisky (BV) formalism, one can define a perturbative (i.e. given by Feynman graphs and rules) partition function $Z(x_0)$ for any choice of classical background (solution to Euler-Lagrange (EL) equations) $x_0$. In some examples one can extract from $Z$ a volume form on the smooth part of the moduli space of solutions to EL equations, and compare its integral with non-perturbative approaches to quantization. I will review this construction, some results from examples in the literature and ongoing joint work with P. Mnev about the behaviour at singular points $x_0$.