Per-row decode is hit on every row of every SELECT. The original code had three forms of waste in the inner loop: 1. Redundant base_type() call. ColumnInfo.type_code is already base-typed by parse_describe at construction; calling base_type() again per column per row was pure waste. Single largest savings. 2. IntFlag->int conversions inline (~10x per iteration). Lifted to module-level _TC_X constants. 3. Lazy imports inside the loop body (_decode_datetime, _decode_interval, BlobLocator, ClobLocator, RowValue, CollectionValue). Moved to top. Plus three precomputed frozensets (_LENGTH_PREFIXED_SHORT_TYPES, _COMPOSITE_UDT_TYPES, _NUMERIC_TYPES) replace inline tuple-membership checks. _COLLECTION_KIND_MAP is now MappingProxyType (actually frozen). Performance: * parse_tuple_5cols: 2796 ns -> 2030 ns (-27%) * select_bench_table_all (1k rows): 1477 us -> 1198 us (-19%) * Codec micro-bench, cold connect, executemany: unchanged Real-world fetch ceiling on a single connection: 350K rows/sec -> 490K rows/sec. Margaret Hamilton review surfaced four cleanup items, all addressed before tagging: * H1: cursor._dereference_blob_columns had the same redundant base_type() call - stripped for consistency. * M1: documented the load-bearing invariant at parse_describe (the single producer site) so future contributors have a grep target. * M2: _COLLECTION_KIND_MAP wrapped in MappingProxyType. * L1: stale line-number comment fixed to point at the INVARIANT comment instead. baseline.json refreshed; all 224 integration tests pass; ruff clean.
1256 lines
43 KiB
JSON
1256 lines
43 KiB
JSON
{
|
|
"machine_info": {
|
|
"node": "rpm-bullet",
|
|
"processor": "",
|
|
"machine": "x86_64",
|
|
"python_compiler": "Clang 22.1.1 ",
|
|
"python_implementation": "CPython",
|
|
"python_implementation_version": "3.13.12",
|
|
"python_version": "3.13.12",
|
|
"python_build": [
|
|
"main",
|
|
"Mar 24 2026 22:49:35"
|
|
],
|
|
"release": "6.19.11-arch1-1",
|
|
"system": "Linux",
|
|
"cpu": {
|
|
"python_version": "3.13.12.final.0 (64 bit)",
|
|
"cpuinfo_version": [
|
|
9,
|
|
0,
|
|
0
|
|
],
|
|
"cpuinfo_version_string": "9.0.0",
|
|
"arch": "X86_64",
|
|
"bits": 64,
|
|
"count": 32,
|
|
"arch_string_raw": "x86_64",
|
|
"vendor_id_raw": "AuthenticAMD",
|
|
"brand_raw": "AMD Ryzen 9 9950X 16-Core Processor",
|
|
"hz_advertised_friendly": "5.3056 GHz",
|
|
"hz_actual_friendly": "5.3056 GHz",
|
|
"hz_advertised": [
|
|
5305567000,
|
|
0
|
|
],
|
|
"hz_actual": [
|
|
5305567000,
|
|
0
|
|
],
|
|
"model": 68,
|
|
"family": 26,
|
|
"flags": [
|
|
"3dnowprefetch",
|
|
"abm",
|
|
"adx",
|
|
"aes",
|
|
"amd_lbr_pmc_freeze",
|
|
"amd_lbr_v2",
|
|
"aperfmperf",
|
|
"apic",
|
|
"arat",
|
|
"avic",
|
|
"avx",
|
|
"avx2",
|
|
"avx512_bf16",
|
|
"avx512_bitalg",
|
|
"avx512_vbmi2",
|
|
"avx512_vnni",
|
|
"avx512_vp2intersect",
|
|
"avx512_vpopcntdq",
|
|
"avx512bitalg",
|
|
"avx512bw",
|
|
"avx512cd",
|
|
"avx512dq",
|
|
"avx512f",
|
|
"avx512ifma",
|
|
"avx512vbmi",
|
|
"avx512vbmi2",
|
|
"avx512vl",
|
|
"avx512vnni",
|
|
"avx512vpopcntdq",
|
|
"avx_vnni",
|
|
"bmi1",
|
|
"bmi2",
|
|
"bpext",
|
|
"bus_lock_detect",
|
|
"cat_l3",
|
|
"cdp_l3",
|
|
"clflush",
|
|
"clflushopt",
|
|
"clwb",
|
|
"clzero",
|
|
"cmov",
|
|
"cmp_legacy",
|
|
"constant_tsc",
|
|
"cpb",
|
|
"cppc",
|
|
"cpuid",
|
|
"cpuid_fault",
|
|
"cqm",
|
|
"cqm_llc",
|
|
"cqm_mbm_local",
|
|
"cqm_mbm_total",
|
|
"cqm_occup_llc",
|
|
"cr8_legacy",
|
|
"cx16",
|
|
"cx8",
|
|
"dbx",
|
|
"de",
|
|
"decodeassists",
|
|
"erms",
|
|
"extapic",
|
|
"extd_apicid",
|
|
"f16c",
|
|
"flush_l1d",
|
|
"flushbyasid",
|
|
"fma",
|
|
"fpu",
|
|
"fsgsbase",
|
|
"fsrm",
|
|
"fxsr",
|
|
"fxsr_opt",
|
|
"gfni",
|
|
"ht",
|
|
"hw_pstate",
|
|
"ibpb",
|
|
"ibrs",
|
|
"ibrs_enhanced",
|
|
"ibs",
|
|
"invpcid",
|
|
"irperf",
|
|
"lahf_lm",
|
|
"lbrv",
|
|
"lm",
|
|
"mba",
|
|
"mca",
|
|
"mce",
|
|
"misalignsse",
|
|
"mmx",
|
|
"mmxext",
|
|
"monitor",
|
|
"movbe",
|
|
"movdir64b",
|
|
"movdiri",
|
|
"msr",
|
|
"mtrr",
|
|
"mwaitx",
|
|
"nonstop_tsc",
|
|
"nopl",
|
|
"npt",
|
|
"nrip_save",
|
|
"nx",
|
|
"ospke",
|
|
"osvw",
|
|
"osxsave",
|
|
"overflow_recov",
|
|
"pae",
|
|
"pat",
|
|
"pausefilter",
|
|
"pci_l2i",
|
|
"pclmulqdq",
|
|
"pdpe1gb",
|
|
"perfctr_core",
|
|
"perfctr_llc",
|
|
"perfctr_nb",
|
|
"perfmon_v2",
|
|
"pfthreshold",
|
|
"pge",
|
|
"pku",
|
|
"pni",
|
|
"popcnt",
|
|
"pqe",
|
|
"pqm",
|
|
"pse",
|
|
"pse36",
|
|
"rapl",
|
|
"rdpid",
|
|
"rdpru",
|
|
"rdrand",
|
|
"rdrnd",
|
|
"rdseed",
|
|
"rdt_a",
|
|
"rdtscp",
|
|
"rep_good",
|
|
"sep",
|
|
"sha",
|
|
"sha_ni",
|
|
"skinit",
|
|
"smap",
|
|
"smca",
|
|
"smep",
|
|
"ssbd",
|
|
"sse",
|
|
"sse2",
|
|
"sse4_1",
|
|
"sse4_2",
|
|
"sse4a",
|
|
"ssse3",
|
|
"stibp",
|
|
"succor",
|
|
"svm",
|
|
"svm_lock",
|
|
"syscall",
|
|
"tce",
|
|
"topoext",
|
|
"tsc",
|
|
"tsc_adjust",
|
|
"tsc_scale",
|
|
"umip",
|
|
"user_shstk",
|
|
"v_spec_ctrl",
|
|
"v_vmsave_vmload",
|
|
"vaes",
|
|
"vgif",
|
|
"vmcb_clean",
|
|
"vme",
|
|
"vmmcall",
|
|
"vnmi",
|
|
"vpclmulqdq",
|
|
"wbnoinvd",
|
|
"wdt",
|
|
"x2avic",
|
|
"xgetbv1",
|
|
"xsave",
|
|
"xsavec",
|
|
"xsaveerptr",
|
|
"xsaveopt",
|
|
"xsaves",
|
|
"xtopology"
|
|
],
|
|
"l3_cache_size": 1048576,
|
|
"l2_cache_size": 16777216,
|
|
"l1_data_cache_size": 786432,
|
|
"l1_instruction_cache_size": 524288,
|
|
"l2_cache_line_size": 1024,
|
|
"l2_cache_associativity": 8
|
|
}
|
|
},
|
|
"commit_info": {
|
|
"id": "0e0dfcba26d06bc99220eee23d6da320d6db31d0",
|
|
"time": "2026-05-04T17:33:37-06:00",
|
|
"author_time": "2026-05-04T17:33:37-06:00",
|
|
"dirty": true,
|
|
"project": "python-library",
|
|
"branch": "main"
|
|
},
|
|
"benchmarks": [
|
|
{
|
|
"group": null,
|
|
"name": "test_async_select_one_row",
|
|
"fullname": "tests/benchmarks/test_async_perf.py::test_async_select_one_row",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 0.0001716800034046173,
|
|
"max": 0.0025318090338259935,
|
|
"mean": 0.00024023238405867858,
|
|
"stddev": 0.00010827310463138873,
|
|
"rounds": 646,
|
|
"median": 0.00021884450688958168,
|
|
"iqr": 6.347999442368746e-05,
|
|
"q1": 0.00019683002028614283,
|
|
"q3": 0.0002603100147098303,
|
|
"iqr_outliers": 29,
|
|
"stddev_outliers": 38,
|
|
"outliers": "38;29",
|
|
"ld15iqr": 0.0001716800034046173,
|
|
"hd15iqr": 0.00035661004949361086,
|
|
"ops": 4162.636123844745,
|
|
"total": 0.15519012010190636,
|
|
"iterations": 1
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_async_concurrent_10_selects",
|
|
"fullname": "tests/benchmarks/test_async_perf.py::test_async_concurrent_10_selects",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 0.003250498906709254,
|
|
"max": 0.004395747906528413,
|
|
"mean": 0.0037783939551445656,
|
|
"stddev": 0.0002877852138766017,
|
|
"rounds": 48,
|
|
"median": 0.0038153735222294927,
|
|
"iqr": 0.0004232199862599373,
|
|
"q1": 0.0035430489806458354,
|
|
"q3": 0.003966268966905773,
|
|
"iqr_outliers": 0,
|
|
"stddev_outliers": 20,
|
|
"outliers": "20;0",
|
|
"ld15iqr": 0.003250498906709254,
|
|
"hd15iqr": 0.004395747906528413,
|
|
"ops": 264.66271433618647,
|
|
"total": 0.18136290984693915,
|
|
"iterations": 1
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_decode_int",
|
|
"fullname": "tests/benchmarks/test_codec_perf.py::test_decode_int",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 1.562002580612898e-07,
|
|
"max": 6.793700158596039e-06,
|
|
"mean": 1.7313772542871155e-07,
|
|
"stddev": 3.923446350051351e-08,
|
|
"rounds": 57904,
|
|
"median": 1.6720034182071686e-07,
|
|
"iqr": 5.499459803104402e-09,
|
|
"q1": 1.652003265917301e-07,
|
|
"q3": 1.706997863948345e-07,
|
|
"iqr_outliers": 4205,
|
|
"stddev_outliers": 2280,
|
|
"outliers": "2280;4205",
|
|
"ld15iqr": 1.57100148499012e-07,
|
|
"hd15iqr": 1.7898972146213055e-07,
|
|
"ops": 5775748.742937854,
|
|
"total": 0.010025366853224114,
|
|
"iterations": 100
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_decode_smallint",
|
|
"fullname": "tests/benchmarks/test_codec_perf.py::test_decode_smallint",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 1.537926687762655e-07,
|
|
"max": 6.914548254732429e-05,
|
|
"mean": 1.6882613681192472e-07,
|
|
"stddev": 1.5837848382200436e-07,
|
|
"rounds": 198021,
|
|
"median": 1.6344711184501648e-07,
|
|
"iqr": 3.4483021189426453e-09,
|
|
"q1": 1.617249679462663e-07,
|
|
"q3": 1.6517327006520896e-07,
|
|
"iqr_outliers": 17166,
|
|
"stddev_outliers": 1204,
|
|
"outliers": "1204;17166",
|
|
"ld15iqr": 1.5655452192857347e-07,
|
|
"hd15iqr": 1.703477304043441e-07,
|
|
"ops": 5923253.465865997,
|
|
"total": 0.033431120437634146,
|
|
"iterations": 29
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_decode_bigint",
|
|
"fullname": "tests/benchmarks/test_codec_perf.py::test_decode_bigint",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 1.6538587470467274e-07,
|
|
"max": 2.878077793866396e-06,
|
|
"mean": 1.8764578820220072e-07,
|
|
"stddev": 3.7770773001282916e-08,
|
|
"rounds": 192311,
|
|
"median": 1.7846021084831312e-07,
|
|
"iqr": 5.381969878306762e-09,
|
|
"q1": 1.7615429197366421e-07,
|
|
"q3": 1.8153626185197098e-07,
|
|
"iqr_outliers": 22717,
|
|
"stddev_outliers": 15727,
|
|
"outliers": "15727;22717",
|
|
"ld15iqr": 1.6845744819595262e-07,
|
|
"hd15iqr": 1.8961369418180905e-07,
|
|
"ops": 5329189.690750927,
|
|
"total": 0.036086349174953423,
|
|
"iterations": 26
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_decode_float",
|
|
"fullname": "tests/benchmarks/test_codec_perf.py::test_decode_float",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 1.5596548716227214e-07,
|
|
"max": 2.789000670115153e-06,
|
|
"mean": 1.7355056741334062e-07,
|
|
"stddev": 2.7826310880161696e-08,
|
|
"rounds": 199599,
|
|
"median": 1.6600048790375392e-07,
|
|
"iqr": 3.6632021268208592e-09,
|
|
"q1": 1.6433574880162876e-07,
|
|
"q3": 1.6799895092844962e-07,
|
|
"iqr_outliers": 21756,
|
|
"stddev_outliers": 18474,
|
|
"outliers": "18474;21756",
|
|
"ld15iqr": 1.5900004655122756e-07,
|
|
"hd15iqr": 1.7363345250487328e-07,
|
|
"ops": 5762009.395326997,
|
|
"total": 0.034640519705135375,
|
|
"iterations": 30
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_decode_date",
|
|
"fullname": "tests/benchmarks/test_codec_perf.py::test_decode_date",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 4.5995693653821945e-07,
|
|
"max": 1.5629921108484268e-05,
|
|
"mean": 5.214427266764096e-07,
|
|
"stddev": 2.9467465403642604e-07,
|
|
"rounds": 116823,
|
|
"median": 4.899920895695686e-07,
|
|
"iqr": 1.0011717677116394e-08,
|
|
"q1": 4.799803718924522e-07,
|
|
"q3": 4.899920895695686e-07,
|
|
"iqr_outliers": 9595,
|
|
"stddev_outliers": 1888,
|
|
"outliers": "1888;9595",
|
|
"ld15iqr": 4.6892091631889343e-07,
|
|
"hd15iqr": 5.090842023491859e-07,
|
|
"ops": 1917756.1577545363,
|
|
"total": 0.060916503658518195,
|
|
"iterations": 1
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_decode_varchar_short",
|
|
"fullname": "tests/benchmarks/test_codec_perf.py::test_decode_varchar_short",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 1.5733142693837484e-07,
|
|
"max": 1.6783325312038262e-06,
|
|
"mean": 1.7362741232276435e-07,
|
|
"stddev": 3.162710091290439e-08,
|
|
"rounds": 197239,
|
|
"median": 1.66997779160738e-07,
|
|
"iqr": 2.999634792407352e-09,
|
|
"q1": 1.6566676398118336e-07,
|
|
"q3": 1.6866639877359071e-07,
|
|
"iqr_outliers": 24107,
|
|
"stddev_outliers": 11244,
|
|
"outliers": "11244;24107",
|
|
"ld15iqr": 1.6133223349849382e-07,
|
|
"hd15iqr": 1.7333077266812326e-07,
|
|
"ops": 5759459.215697183,
|
|
"total": 0.03424609717912972,
|
|
"iterations": 30
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_decode_varchar_long",
|
|
"fullname": "tests/benchmarks/test_codec_perf.py::test_decode_varchar_long",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 1.640990376472473e-07,
|
|
"max": 1.5661993529647588e-06,
|
|
"mean": 1.776087040352537e-07,
|
|
"stddev": 2.4469294649678052e-08,
|
|
"rounds": 58241,
|
|
"median": 1.719000283628702e-07,
|
|
"iqr": 2.9988586902618398e-09,
|
|
"q1": 1.7060083337128163e-07,
|
|
"q3": 1.7359969206154347e-07,
|
|
"iqr_outliers": 8161,
|
|
"stddev_outliers": 3554,
|
|
"outliers": "3554;8161",
|
|
"ld15iqr": 1.6619917005300523e-07,
|
|
"hd15iqr": 1.7809914425015448e-07,
|
|
"ops": 5630354.691409207,
|
|
"total": 0.010344108531717211,
|
|
"iterations": 100
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_decode_varchar_utf8",
|
|
"fullname": "tests/benchmarks/test_codec_perf.py::test_decode_varchar_utf8",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 2.0260821380045102e-07,
|
|
"max": 1.0204359727061314e-06,
|
|
"mean": 2.196522708478208e-07,
|
|
"stddev": 3.0031938947888995e-08,
|
|
"rounds": 197239,
|
|
"median": 2.1435097669777664e-07,
|
|
"iqr": 6.51925802230835e-09,
|
|
"q1": 2.11739224260268e-07,
|
|
"q3": 2.1825848228257635e-07,
|
|
"iqr_outliers": 9569,
|
|
"stddev_outliers": 7911,
|
|
"outliers": "7911;9569",
|
|
"ld15iqr": 2.0260821380045102e-07,
|
|
"hd15iqr": 2.2826007688822952e-07,
|
|
"ops": 4552650.405753459,
|
|
"total": 0.04332399424975333,
|
|
"iterations": 23
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_encode_int",
|
|
"fullname": "tests/benchmarks/test_codec_perf.py::test_encode_int",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 9.600014891475439e-08,
|
|
"max": 3.5204982850700617e-07,
|
|
"mean": 1.0548506886676939e-07,
|
|
"stddev": 1.7902034277236185e-08,
|
|
"rounds": 50126,
|
|
"median": 9.890005458146333e-08,
|
|
"iqr": 1.749722287058827e-09,
|
|
"q1": 9.800016414374114e-08,
|
|
"q3": 9.974988643079996e-08,
|
|
"iqr_outliers": 7671,
|
|
"stddev_outliers": 6296,
|
|
"outliers": "6296;7671",
|
|
"ld15iqr": 9.600014891475439e-08,
|
|
"hd15iqr": 1.0240008123219013e-07,
|
|
"ops": 9480014.66693858,
|
|
"total": 0.005287544562015682,
|
|
"iterations": 200
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_encode_str_ascii",
|
|
"fullname": "tests/benchmarks/test_codec_perf.py::test_encode_str_ascii",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 4.199100658297539e-07,
|
|
"max": 5.739973857998848e-06,
|
|
"mean": 4.5435834470878613e-07,
|
|
"stddev": 1.2945841794701364e-07,
|
|
"rounds": 120049,
|
|
"median": 4.400499165058136e-07,
|
|
"iqr": 1.0128132998943329e-08,
|
|
"q1": 4.3993350118398666e-07,
|
|
"q3": 4.5006163418293e-07,
|
|
"iqr_outliers": 8306,
|
|
"stddev_outliers": 2450,
|
|
"outliers": "2450;8306",
|
|
"ld15iqr": 4.289904609322548e-07,
|
|
"hd15iqr": 4.6996865421533585e-07,
|
|
"ops": 2200905.9845504416,
|
|
"total": 0.05454526492394507,
|
|
"iterations": 1
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_encode_str_utf8",
|
|
"fullname": "tests/benchmarks/test_codec_perf.py::test_encode_str_utf8",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 3.864988684654236e-07,
|
|
"max": 3.037502756342292e-06,
|
|
"mean": 4.1870505862042955e-07,
|
|
"stddev": 7.806074448282035e-08,
|
|
"rounds": 119332,
|
|
"median": 4.0600425563752653e-07,
|
|
"iqr": 1.100124791264534e-08,
|
|
"q1": 4.0199956856667997e-07,
|
|
"q3": 4.130008164793253e-07,
|
|
"iqr_outliers": 8754,
|
|
"stddev_outliers": 5005,
|
|
"outliers": "5005;8754",
|
|
"ld15iqr": 3.864988684654236e-07,
|
|
"hd15iqr": 4.2994506657123564e-07,
|
|
"ops": 2388316.022010458,
|
|
"total": 0.0499649120552931,
|
|
"iterations": 20
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_encode_float",
|
|
"fullname": "tests/benchmarks/test_codec_perf.py::test_encode_float",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 9.940005838871003e-08,
|
|
"max": 1.6832002438604832e-06,
|
|
"mean": 1.0680509665896136e-07,
|
|
"stddev": 2.0585016750177496e-08,
|
|
"rounds": 194176,
|
|
"median": 1.0300194844603538e-07,
|
|
"iqr": 1.401640474796291e-09,
|
|
"q1": 1.0239891707897187e-07,
|
|
"q3": 1.0380055755376816e-07,
|
|
"iqr_outliers": 16172,
|
|
"stddev_outliers": 10601,
|
|
"outliers": "10601;16172",
|
|
"ld15iqr": 1.0039890184998512e-07,
|
|
"hd15iqr": 1.0597985237836838e-07,
|
|
"ops": 9362849.070705805,
|
|
"total": 0.020738986448850482,
|
|
"iterations": 50
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_encode_date",
|
|
"fullname": "tests/benchmarks/test_codec_perf.py::test_encode_date",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 2.1990854293107986e-07,
|
|
"max": 6.819004192948341e-05,
|
|
"mean": 2.436754592114054e-07,
|
|
"stddev": 2.1385621790282018e-07,
|
|
"rounds": 183487,
|
|
"median": 2.400483936071396e-07,
|
|
"iqr": 1.1641532182693481e-10,
|
|
"q1": 2.3993197828531265e-07,
|
|
"q3": 2.400483936071396e-07,
|
|
"iqr_outliers": 82360,
|
|
"stddev_outliers": 134,
|
|
"outliers": "134;82360",
|
|
"ld15iqr": 2.3993197828531265e-07,
|
|
"hd15iqr": 2.4901237338781357e-07,
|
|
"ops": 4103819.08476237,
|
|
"total": 0.044711278984323144,
|
|
"iterations": 1
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_encode_datetime",
|
|
"fullname": "tests/benchmarks/test_codec_perf.py::test_encode_datetime",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 1.8399441614747047e-06,
|
|
"max": 7.521000225096941e-05,
|
|
"mean": 1.979959211457151e-06,
|
|
"stddev": 6.163066006137501e-07,
|
|
"rounds": 63013,
|
|
"median": 1.9100261852145195e-06,
|
|
"iqr": 3.993045538663864e-08,
|
|
"q1": 1.8900027498602867e-06,
|
|
"q3": 1.9299332052469254e-06,
|
|
"iqr_outliers": 4340,
|
|
"stddev_outliers": 3276,
|
|
"outliers": "3276;4340",
|
|
"ld15iqr": 1.8399441614747047e-06,
|
|
"hd15iqr": 1.9898870959877968e-06,
|
|
"ops": 505060.90944371023,
|
|
"total": 0.12476316979154944,
|
|
"iterations": 1
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_parse_tuple_5cols_iso8859",
|
|
"fullname": "tests/benchmarks/test_codec_perf.py::test_parse_tuple_5cols_iso8859",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 1.9300496205687523e-06,
|
|
"max": 7.071008440107107e-05,
|
|
"mean": 2.04680828964549e-06,
|
|
"stddev": 6.877336209583177e-07,
|
|
"rounds": 54885,
|
|
"median": 2.0100269466638565e-06,
|
|
"iqr": 3.003515303134918e-08,
|
|
"q1": 2.00001522898674e-06,
|
|
"q3": 2.0300503820180893e-06,
|
|
"iqr_outliers": 2815,
|
|
"stddev_outliers": 838,
|
|
"outliers": "838;2815",
|
|
"ld15iqr": 1.9599683582782745e-06,
|
|
"hd15iqr": 2.0799925550818443e-06,
|
|
"ops": 488565.5413156459,
|
|
"total": 0.1123390729771927,
|
|
"iterations": 1
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_parse_tuple_5cols_utf8",
|
|
"fullname": "tests/benchmarks/test_codec_perf.py::test_parse_tuple_5cols_utf8",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 1.919921487569809e-06,
|
|
"max": 8.665001951158047e-05,
|
|
"mean": 2.0710582509776077e-06,
|
|
"stddev": 5.856449837511621e-07,
|
|
"rounds": 127389,
|
|
"median": 2.019922249019146e-06,
|
|
"iqr": 3.993045538663864e-08,
|
|
"q1": 2.00001522898674e-06,
|
|
"q3": 2.0399456843733788e-06,
|
|
"iqr_outliers": 7130,
|
|
"stddev_outliers": 4179,
|
|
"outliers": "4179;7130",
|
|
"ld15iqr": 1.949956640601158e-06,
|
|
"hd15iqr": 2.09989957511425e-06,
|
|
"ops": 482844.9414824364,
|
|
"total": 0.2638300395337865,
|
|
"iterations": 1
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_insert_single_row",
|
|
"fullname": "tests/benchmarks/test_insert_perf.py::test_insert_single_row",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 0.00153438001871109,
|
|
"max": 0.00647808809299022,
|
|
"mean": 0.0017378172489147044,
|
|
"stddev": 0.0002326683723873132,
|
|
"rounds": 487,
|
|
"median": 0.0017156789544969797,
|
|
"iqr": 9.97602182906121e-05,
|
|
"q1": 0.0016811315435916185,
|
|
"q3": 0.0017808917618822306,
|
|
"iqr_outliers": 11,
|
|
"stddev_outliers": 5,
|
|
"outliers": "5;11",
|
|
"ld15iqr": 0.00153438001871109,
|
|
"hd15iqr": 0.0019431590335443616,
|
|
"ops": 575.4345001607716,
|
|
"total": 0.8463170002214611,
|
|
"iterations": 1
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_executemany_100_rows",
|
|
"fullname": "tests/benchmarks/test_insert_perf.py::test_executemany_100_rows",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 0.16403006296604872,
|
|
"max": 0.17896402801852673,
|
|
"mean": 0.16753320356032678,
|
|
"stddev": 0.005138313332113908,
|
|
"rounds": 7,
|
|
"median": 0.16641776298638433,
|
|
"iqr": 0.0017291592666879296,
|
|
"q1": 0.16484574295463972,
|
|
"q3": 0.16657490222132765,
|
|
"iqr_outliers": 1,
|
|
"stddev_outliers": 1,
|
|
"outliers": "1;1",
|
|
"ld15iqr": 0.16403006296604872,
|
|
"hd15iqr": 0.17896402801852673,
|
|
"ops": 5.968966024337448,
|
|
"total": 1.1727324249222875,
|
|
"iterations": 1
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_executemany_1000_rows",
|
|
"fullname": "tests/benchmarks/test_insert_perf.py::test_executemany_1000_rows",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 1.6979640549980104,
|
|
"max": 1.8137637979816645,
|
|
"mean": 1.741307493338051,
|
|
"stddev": 0.06315112316560473,
|
|
"rounds": 3,
|
|
"median": 1.712194627034478,
|
|
"iqr": 0.0868498072377406,
|
|
"q1": 1.7015216980071273,
|
|
"q3": 1.7883715052448679,
|
|
"iqr_outliers": 0,
|
|
"stddev_outliers": 1,
|
|
"outliers": "1;0",
|
|
"ld15iqr": 1.6979640549980104,
|
|
"hd15iqr": 1.8137637979816645,
|
|
"ops": 0.5742811099279315,
|
|
"total": 5.223922480014153,
|
|
"iterations": 1
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_executemany_1000_rows_in_txn",
|
|
"fullname": "tests/benchmarks/test_insert_perf.py::test_executemany_1000_rows_in_txn",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 0.02879249001853168,
|
|
"max": 0.035027747973799706,
|
|
"mean": 0.03150460566394031,
|
|
"stddev": 0.0031957680813884007,
|
|
"rounds": 3,
|
|
"median": 0.030693578999489546,
|
|
"iqr": 0.004676443466451019,
|
|
"q1": 0.029267762263771147,
|
|
"q3": 0.033944205730222166,
|
|
"iqr_outliers": 0,
|
|
"stddev_outliers": 1,
|
|
"outliers": "1;0",
|
|
"ld15iqr": 0.02879249001853168,
|
|
"hd15iqr": 0.035027747973799706,
|
|
"ops": 31.741390787969287,
|
|
"total": 0.09451381699182093,
|
|
"iterations": 1
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_cold_connect_disconnect",
|
|
"fullname": "tests/benchmarks/test_pool_perf.py::test_cold_connect_disconnect",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 0.010372666991315782,
|
|
"max": 0.012186535983346403,
|
|
"mean": 0.01076945241075009,
|
|
"stddev": 0.0007926438816564111,
|
|
"rounds": 5,
|
|
"median": 0.010428816080093384,
|
|
"iqr": 0.0004787805082742125,
|
|
"q1": 0.01040272624231875,
|
|
"q3": 0.010881506750592962,
|
|
"iqr_outliers": 1,
|
|
"stddev_outliers": 1,
|
|
"outliers": "1;1",
|
|
"ld15iqr": 0.010372666991315782,
|
|
"hd15iqr": 0.012186535983346403,
|
|
"ops": 92.85523180378213,
|
|
"total": 0.053847262053750455,
|
|
"iterations": 1
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_pool_acquire_release",
|
|
"fullname": "tests/benchmarks/test_pool_perf.py::test_pool_acquire_release",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 0.00011112005449831486,
|
|
"max": 0.0005039400421082973,
|
|
"mean": 0.00015623548005837514,
|
|
"stddev": 4.485215457567809e-05,
|
|
"rounds": 1720,
|
|
"median": 0.00014498003292828798,
|
|
"iqr": 5.6055025197565556e-05,
|
|
"q1": 0.00011997995898127556,
|
|
"q3": 0.00017603498417884111,
|
|
"iqr_outliers": 53,
|
|
"stddev_outliers": 253,
|
|
"outliers": "253;53",
|
|
"ld15iqr": 0.00011112005449831486,
|
|
"hd15iqr": 0.0002618000144138932,
|
|
"ops": 6400.594792081571,
|
|
"total": 0.26872502570040524,
|
|
"iterations": 1
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_pool_acquire_query_release",
|
|
"fullname": "tests/benchmarks/test_pool_perf.py::test_pool_acquire_query_release",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 0.00022098992485553026,
|
|
"max": 0.003770189010538161,
|
|
"mean": 0.00030124415799909156,
|
|
"stddev": 0.00013052887669799703,
|
|
"rounds": 3037,
|
|
"median": 0.00027985998895019293,
|
|
"iqr": 8.76275880727917e-05,
|
|
"q1": 0.00023984492872841656,
|
|
"q3": 0.00032747251680120826,
|
|
"iqr_outliers": 105,
|
|
"stddev_outliers": 171,
|
|
"outliers": "171;105",
|
|
"ld15iqr": 0.00022098992485553026,
|
|
"hd15iqr": 0.00045907997991889715,
|
|
"ops": 3319.566449494485,
|
|
"total": 0.9148785078432411,
|
|
"iterations": 1
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_select_one_row",
|
|
"fullname": "tests/benchmarks/test_select_perf.py::test_select_one_row",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 0.00010953994933515787,
|
|
"max": 0.002601788961328566,
|
|
"mean": 0.00015700237576545464,
|
|
"stddev": 7.348211328862586e-05,
|
|
"rounds": 3434,
|
|
"median": 0.00014257995644584298,
|
|
"iqr": 5.595991387963295e-05,
|
|
"q1": 0.00012084003537893295,
|
|
"q3": 0.0001767999492585659,
|
|
"iqr_outliers": 91,
|
|
"stddev_outliers": 241,
|
|
"outliers": "241;91",
|
|
"ld15iqr": 0.00010953994933515787,
|
|
"hd15iqr": 0.00026080908719450235,
|
|
"ops": 6369.330369203437,
|
|
"total": 0.5391461583785713,
|
|
"iterations": 1
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_select_systables_first_10",
|
|
"fullname": "tests/benchmarks/test_select_perf.py::test_select_systables_first_10",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 0.0001492300070822239,
|
|
"max": 0.002203988959081471,
|
|
"mean": 0.0002083528784247371,
|
|
"stddev": 6.145663999244337e-05,
|
|
"rounds": 4129,
|
|
"median": 0.00019670999608933926,
|
|
"iqr": 5.1545066526159644e-05,
|
|
"q1": 0.0001766149653121829,
|
|
"q3": 0.00022816003183834255,
|
|
"iqr_outliers": 197,
|
|
"stddev_outliers": 392,
|
|
"outliers": "392;197",
|
|
"ld15iqr": 0.0001492300070822239,
|
|
"hd15iqr": 0.0003056200221180916,
|
|
"ops": 4799.54972333741,
|
|
"total": 0.8602890350157395,
|
|
"iterations": 1
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_select_bench_table_all",
|
|
"fullname": "tests/benchmarks/test_select_perf.py::test_select_bench_table_all",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 0.0010620299726724625,
|
|
"max": 0.0045873390045017,
|
|
"mean": 0.001255317803729197,
|
|
"stddev": 0.00028099155461398323,
|
|
"rounds": 725,
|
|
"median": 0.00117024895735085,
|
|
"iqr": 0.0001368127705063671,
|
|
"q1": 0.0011212090030312538,
|
|
"q3": 0.001258021773537621,
|
|
"iqr_outliers": 85,
|
|
"stddev_outliers": 80,
|
|
"outliers": "80;85",
|
|
"ld15iqr": 0.0010620299726724625,
|
|
"hd15iqr": 0.0014637489803135395,
|
|
"ops": 796.6110231443229,
|
|
"total": 0.9101054077036679,
|
|
"iterations": 1
|
|
}
|
|
},
|
|
{
|
|
"group": null,
|
|
"name": "test_select_with_param",
|
|
"fullname": "tests/benchmarks/test_select_perf.py::test_select_with_param",
|
|
"params": null,
|
|
"param": null,
|
|
"extra_info": {},
|
|
"options": {
|
|
"disable_gc": false,
|
|
"timer": "perf_counter",
|
|
"min_rounds": 5,
|
|
"max_time": 1.0,
|
|
"min_time": 5e-06,
|
|
"warmup": false
|
|
},
|
|
"stats": {
|
|
"min": 0.0008237300207838416,
|
|
"max": 0.0016019289614632726,
|
|
"mean": 0.000977066598594926,
|
|
"stddev": 0.00010309133492269328,
|
|
"rounds": 960,
|
|
"median": 0.0009512599790468812,
|
|
"iqr": 0.00010632496559992433,
|
|
"q1": 0.0009083050535991788,
|
|
"q3": 0.0010146300191991031,
|
|
"iqr_outliers": 51,
|
|
"stddev_outliers": 197,
|
|
"outliers": "197;51",
|
|
"ld15iqr": 0.0008237300207838416,
|
|
"hd15iqr": 0.0011772899888455868,
|
|
"ops": 1023.471687025279,
|
|
"total": 0.937983934651129,
|
|
"iterations": 1
|
|
}
|
|
}
|
|
],
|
|
"datetime": "2026-05-04T23:51:33.343368+00:00",
|
|
"version": "5.2.3"
|
|
} |