               let used_queries = 0;

                const no_queries_selected = selectors.queries.filter(x => x).length == 0;

                for (let i = 0; i < num_queries; ++i) {
                    if (no_queries_selected || selectors.queries[i]) {
                        const curr_timing = selectRun(elem.result[i]) ?? fallback_timing;
                        const baseline_timing = selectRun(baseline_data[i]);
                        const ratio = (constant_time_add + curr_timing) / (constant_time_