MCPcopy Create free account
hub / github.com/KentBeck/BPlusTree3 / create_test_data

Function create_test_data

python/examples/performance_demo.py:40–42  ·  view source on GitHub ↗

Create test data for benchmarks.

(size)

Source from the content-addressed store, hash-verified

38
39
40def create_test_data(size):
41 """Create test data for benchmarks."""
42 return [(i, f"value_{i}") for i in range(size)]
43
44
45def benchmark_range_queries():

Callers 6

benchmark_range_queriesFunction · 0.85
benchmark_iterationFunction · 0.85
benchmark_insertionFunction · 0.85
benchmark_memory_usageFunction · 0.85
capacity_tuning_demoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected