Skip to main content

Improvements to ehrQL measures performance

31 March 2025

ehrQL’s measures framework is used to calculate quotients (i.e. a numerator divided by a denominator) and to see how these vary over time and when broken down by different groupings.

We’ve recently improved the efficiency of measures calculations. All measures jobs are expected to see some improvement in execution time - our testing runs saw 10-80% speed-ups, depending on the type of measure. Measures which use simple variables and extract large populations are likely to see the biggest improvements.