aplbrain
grand-cypher
BlogDocsChangelog

Fix performance regression with limit on unordered queries

#90Merged
Comparing
davidmezzetti:master
(
ecee781
) with
master
(
76e458e
)
CodSpeed Performance Gauge
×3.8
Improvement
2
Untouched
95

Benchmarks

97 total
test_limit_only
grandcypher/test_queries.py::TestLimitSkip
CodSpeed Performance Gauge
×3.8
107.6 ms28.4 ms
test_skip_and_limit
grandcypher/test_queries.py::TestLimitSkip
CodSpeed Performance Gauge
+56%
215.2 ms138 ms
test_path[DiGraph]
grandcypher/test_queries.py::TestPath
CodSpeed Performance Gauge
+2%
12.9 ms12.7 ms
test_path[MultiDiGraph]
grandcypher/test_queries.py::TestPath
CodSpeed Performance Gauge
+2%
13 ms12.7 ms
test_basic_distinct2[DiGraph]
grandcypher/test_queries.py::TestDistinct
CodSpeed Performance Gauge
0%
10 ms10 ms
test_order_by_with_distinct[DiGraph]
grandcypher/test_queries.py::TestOrderBy
CodSpeed Performance Gauge
0%
15.5 ms15.5 ms
test_basic_distinct1[DiGraph]
grandcypher/test_queries.py::TestDistinct
CodSpeed Performance Gauge
0%
9.9 ms9.9 ms
test_distinct_on_complex_graph[MultiDiGraph]
grandcypher/test_queries.py::TestDistinct
CodSpeed Performance Gauge
0%
16 ms16 ms
test_alias_with_single_variable_length_relationship[MultiDiGraph]
grandcypher/test_queries.py::TestAlias
CodSpeed Performance Gauge
0%
34.5 ms34.5 ms
test_basic_distinct1[MultiDiGraph]
grandcypher/test_queries.py::TestDistinct
CodSpeed Performance Gauge
0%
10 ms10 ms
test_complex_variable_length_relationship[MultiDiGraph]
grandcypher/test_queries.py::TestVariableLengthRelationship
CodSpeed Performance Gauge
0%
18.2 ms18.2 ms
test_order_by_with_limit[MultiDiGraph]
grandcypher/test_queries.py::TestOrderBy
CodSpeed Performance Gauge
0%
12.4 ms12.4 ms
test_undirected[MultiDiGraph]
grandcypher/test_queries.py::TestLimitSkip
CodSpeed Performance Gauge
0%
45.4 ms45.4 ms
test_in[MultiDiGraph]
grandcypher/test_queries.py::TestList
CodSpeed Performance Gauge
0%
12.7 ms12.7 ms
test_alias_with_order_by
grandcypher/test_queries.py::TestAlias
CodSpeed Performance Gauge
0%
48.3 ms48.2 ms
test_order_by_with_limit[DiGraph]
grandcypher/test_queries.py::TestOrderBy
CodSpeed Performance Gauge
0%
12.4 ms12.4 ms
test_basic_distinct2[MultiDiGraph]
grandcypher/test_queries.py::TestDistinct
CodSpeed Performance Gauge
0%
10 ms10 ms
test_node_jsondata_and_explicit_hints[MultiDiGraph]
grandcypher/test_hints.py::TestAutoHintsFromNodeJson
CodSpeed Performance Gauge
0%
17 ms17 ms
test_no_hints[DiGraph]
grandcypher/test_hints.py::TestHints
CodSpeed Performance Gauge
0%
15.7 ms15.7 ms
test_node_double_jsondata_hints[MultiDiGraph]
grandcypher/test_hints.py::TestAutoHintsWithIndexFromNodeJson
CodSpeed Performance Gauge
0%
35.5 ms35.5 ms
test_no_hints[MultiDiGraph]
grandcypher/test_hints.py::TestAutoHintsFromNodeJson
CodSpeed Performance Gauge
0%
15.7 ms15.7 ms
test_simple_api_single_node_multi_where[MultiDiGraph]
grandcypher/test_queries.py::TestSimpleAPI
CodSpeed Performance Gauge
0%
18 ms18 ms
test_order_by_with_distinct[MultiDiGraph]
grandcypher/test_queries.py::TestOrderBy
CodSpeed Performance Gauge
0%
15.6 ms15.6 ms
test_no_hints[MultiDiGraph]
grandcypher/test_hints.py::TestAutoHintsWithIndexFromNodeJson
CodSpeed Performance Gauge
0%
15.7 ms15.7 ms
test_single_variable_length_relationship[MultiDiGraph]
grandcypher/test_queries.py::TestVariableLengthRelationship
CodSpeed Performance Gauge
0%
48.1 ms48.1 ms

Commits

Click on a commit to change the comparison range
Base
master
76e458e
×3.8
Fix performance regression with limit on unordered queries
ecee781
2 months ago
by davidmezzetti
© 2026 CodSpeed Technology
Home Terms Privacy Docs