Adds tests/benchmarks/ with pytest-benchmark coverage of the hot codec paths and end-to-end SELECT/INSERT/pool/async round-trips. Establishes a committed baseline.json so PRs can be regression-checked at review via --benchmark-compare. * test_codec_perf.py (16): decode/encode_param/parse_tuple_payload micro-benchmarks - run without container, suitable for pre-merge CI. * test_select_perf.py (4): SELECT round-trips - 1-row latency floor, 10-row, 1k-row full fetch, parameterized. * test_insert_perf.py (3): single-row INSERT, executemany 100 / 1000. * test_pool_perf.py (3): cold connect, pool acquire/release, pool acquire + query + release. * test_async_perf.py (2): async round-trip overhead, 10x concurrent. * baseline.json: committed snapshot, 28 measurements. * benchmark pytest marker, gated off by default. * Makefile: bench / bench-codec / bench-save targets; test-integration excludes benchmarks for speed. Headline numbers (dev container loopback): * decode(int): 181 ns * parse_tuple 5 cols: 2.87 µs/row * SELECT 1 round-trip: 177 µs * Pool acquire+query+release: 295 µs * Cold connect: 11.2 ms (72x slower than pool) UTF-8 decode carries no measurable cost vs iso-8859-1 - confirms Phase 20 didn't regress anything. Total: 69 unit + 211 integration + 28 benchmark = 308 tests.
1221 lines
42 KiB
JSON
1221 lines
42 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.3197 GHz",
|
|
"hz_actual_friendly": "5.3197 GHz",
|
|
"hz_advertised": [
|
|
5319676000,
|
|
0
|
|
],
|
|
"hz_actual": [
|
|
5319676000,
|
|
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": "bea1a1cd0c6dcb9a4e39f2a9140000877b2bd458",
|
|
"time": "2026-05-04T17:13:19-06:00",
|
|
"author_time": "2026-05-04T17:13:19-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.0001684790477156639,
|
|
"max": 0.0011105990270152688,
|
|
"mean": 0.0002503058588353841,
|
|
"stddev": 7.879092215867795e-05,
|
|
"rounds": 807,
|
|
"median": 0.00022741907741874456,
|
|
"iqr": 8.91221861820668e-05,
|
|
"q1": 0.00019388252985663712,
|
|
"q3": 0.0002830047160387039,
|
|
"iqr_outliers": 23,
|
|
"stddev_outliers": 127,
|
|
"outliers": "127;23",
|
|
"ld15iqr": 0.0001684790477156639,
|
|
"hd15iqr": 0.000417000032030046,
|
|
"ops": 3995.112238494022,
|
|
"total": 0.20199682808015496,
|
|
"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.003062664996832609,
|
|
"max": 0.029818528098985553,
|
|
"mean": 0.004503745338297449,
|
|
"stddev": 0.0034922472024760173,
|
|
"rounds": 56,
|
|
"median": 0.0038903244421817362,
|
|
"iqr": 0.0008543684962205589,
|
|
"q1": 0.0036485749878920615,
|
|
"q3": 0.00450294348411262,
|
|
"iqr_outliers": 1,
|
|
"stddev_outliers": 1,
|
|
"outliers": "1;1",
|
|
"ld15iqr": 0.003062664996832609,
|
|
"hd15iqr": 0.029818528098985553,
|
|
"ops": 222.03742105410205,
|
|
"total": 0.25220973894465715,
|
|
"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.5549943782389164e-07,
|
|
"max": 1.6168004367500543e-06,
|
|
"mean": 1.6961191494723554e-07,
|
|
"stddev": 2.6046845798695555e-08,
|
|
"rounds": 61017,
|
|
"median": 1.6439938917756081e-07,
|
|
"iqr": 3.800960257649406e-09,
|
|
"q1": 1.6279984265565873e-07,
|
|
"q3": 1.6660080291330813e-07,
|
|
"iqr_outliers": 5575,
|
|
"stddev_outliers": 2819,
|
|
"outliers": "2819;5575",
|
|
"ld15iqr": 1.57100148499012e-07,
|
|
"hd15iqr": 1.7239945009350778e-07,
|
|
"ops": 5895812.215262645,
|
|
"total": 0.01034921021433547,
|
|
"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.5366822481155396e-07,
|
|
"max": 2.6446650736033916e-06,
|
|
"mean": 1.6539855734150994e-07,
|
|
"stddev": 2.7642353379565506e-08,
|
|
"rounds": 193424,
|
|
"median": 1.6166983793179194e-07,
|
|
"iqr": 2.999634792407352e-09,
|
|
"q1": 1.6033494224150975e-07,
|
|
"q3": 1.633345770339171e-07,
|
|
"iqr_outliers": 14435,
|
|
"stddev_outliers": 5898,
|
|
"outliers": "5898;14435",
|
|
"ld15iqr": 1.5599653124809265e-07,
|
|
"hd15iqr": 1.6796402633190154e-07,
|
|
"ops": 6046001.948706421,
|
|
"total": 0.03199205055522422,
|
|
"iterations": 30
|
|
}
|
|
},
|
|
{
|
|
"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.6370150088160127e-07,
|
|
"max": 4.313103595955504e-05,
|
|
"mean": 1.8310772680288325e-07,
|
|
"stddev": 1.0266830393448733e-07,
|
|
"rounds": 196077,
|
|
"median": 1.7740832710707628e-07,
|
|
"iqr": 4.0702245853565455e-09,
|
|
"q1": 1.7555861699360387e-07,
|
|
"q3": 1.7962884157896042e-07,
|
|
"iqr_outliers": 17345,
|
|
"stddev_outliers": 2844,
|
|
"outliers": "2844;17345",
|
|
"ld15iqr": 1.696257472590164e-07,
|
|
"hd15iqr": 1.858850872075116e-07,
|
|
"ops": 5461265.9851132715,
|
|
"total": 0.03590321374832894,
|
|
"iterations": 27
|
|
}
|
|
},
|
|
{
|
|
"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.5758620253924665e-07,
|
|
"max": 1.505169824793421e-06,
|
|
"mean": 1.697304733385437e-07,
|
|
"stddev": 1.6849243481658756e-08,
|
|
"rounds": 194550,
|
|
"median": 1.6689541396395912e-07,
|
|
"iqr": 3.448302118942672e-09,
|
|
"q1": 1.6551850170924745e-07,
|
|
"q3": 1.6896680382819012e-07,
|
|
"iqr_outliers": 13912,
|
|
"stddev_outliers": 5416,
|
|
"outliers": "5416;13912",
|
|
"ld15iqr": 1.6034805569155464e-07,
|
|
"hd15iqr": 1.7414126416732525e-07,
|
|
"ops": 5891693.932918009,
|
|
"total": 0.03302106358801368,
|
|
"iterations": 29
|
|
}
|
|
},
|
|
{
|
|
"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.490138962864876e-07,
|
|
"max": 5.552999209612608e-05,
|
|
"mean": 4.85281754471304e-07,
|
|
"stddev": 1.8088943191581917e-07,
|
|
"rounds": 158229,
|
|
"median": 4.700850695371628e-07,
|
|
"iqr": 1.0011717677116394e-08,
|
|
"q1": 4.6996865421533585e-07,
|
|
"q3": 4.799803718924522e-07,
|
|
"iqr_outliers": 6768,
|
|
"stddev_outliers": 2464,
|
|
"outliers": "2464;6768",
|
|
"ld15iqr": 4.5902561396360397e-07,
|
|
"hd15iqr": 4.989560693502426e-07,
|
|
"ops": 2060658.5571910942,
|
|
"total": 0.07678564672823995,
|
|
"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.9988510757684708e-07,
|
|
"max": 5.139969289302826e-06,
|
|
"mean": 2.2681721178572217e-07,
|
|
"stddev": 5.020622684915522e-08,
|
|
"rounds": 184842,
|
|
"median": 2.200249582529068e-07,
|
|
"iqr": 1.0011717677116394e-08,
|
|
"q1": 2.200249582529068e-07,
|
|
"q3": 2.300366759300232e-07,
|
|
"iqr_outliers": 8620,
|
|
"stddev_outliers": 2750,
|
|
"outliers": "2750;8620",
|
|
"ld15iqr": 2.08965502679348e-07,
|
|
"hd15iqr": 2.4994369596242905e-07,
|
|
"ops": 4408836.490524872,
|
|
"total": 0.041925347060896456,
|
|
"iterations": 1
|
|
}
|
|
},
|
|
{
|
|
"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.637998502701521e-07,
|
|
"max": 6.628001574426889e-07,
|
|
"mean": 1.751958236487764e-07,
|
|
"stddev": 2.020776505937668e-08,
|
|
"rounds": 58279,
|
|
"median": 1.7099897377192973e-07,
|
|
"iqr": 2.500601112842562e-09,
|
|
"q1": 1.697998959571123e-07,
|
|
"q3": 1.7230049706995487e-07,
|
|
"iqr_outliers": 5666,
|
|
"stddev_outliers": 2970,
|
|
"outliers": "2970;5666",
|
|
"ld15iqr": 1.660897396504879e-07,
|
|
"hd15iqr": 1.760898157954216e-07,
|
|
"ops": 5707898.619802426,
|
|
"total": 0.01021023740642704,
|
|
"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.0318177782676436e-07,
|
|
"max": 4.1019457223063164e-05,
|
|
"mean": 2.2789509404673646e-07,
|
|
"stddev": 1.0343380489261818e-07,
|
|
"rounds": 197625,
|
|
"median": 2.1591338075020097e-07,
|
|
"iqr": 7.731035690415999e-09,
|
|
"q1": 2.131829122928056e-07,
|
|
"q3": 2.2091394798322159e-07,
|
|
"iqr_outliers": 19610,
|
|
"stddev_outliers": 4836,
|
|
"outliers": "4836;19610",
|
|
"ld15iqr": 2.0318177782676436e-07,
|
|
"hd15iqr": 2.3267718709327959e-07,
|
|
"ops": 4387983.8843521625,
|
|
"total": 0.04503776796098629,
|
|
"iterations": 22
|
|
}
|
|
},
|
|
{
|
|
"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.514507837593555e-08,
|
|
"max": 6.185949314385652e-07,
|
|
"mean": 1.0080823934608823e-07,
|
|
"stddev": 1.2268695698472242e-08,
|
|
"rounds": 48240,
|
|
"median": 9.795010555535555e-08,
|
|
"iqr": 1.8003629520535374e-09,
|
|
"q1": 9.719980880618096e-08,
|
|
"q3": 9.90001717582345e-08,
|
|
"iqr_outliers": 5246,
|
|
"stddev_outliers": 2396,
|
|
"outliers": "2396;5246",
|
|
"ld15iqr": 9.514507837593555e-08,
|
|
"hd15iqr": 1.0174524504691363e-07,
|
|
"ops": 9919824.078732945,
|
|
"total": 0.004862989466055297,
|
|
"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.100147634744644e-07,
|
|
"max": 5.970010533928871e-06,
|
|
"mean": 4.6323939803563367e-07,
|
|
"stddev": 6.556051113021353e-08,
|
|
"rounds": 109290,
|
|
"median": 4.5995693653821945e-07,
|
|
"iqr": 2.0023435354232788e-08,
|
|
"q1": 4.4994521886110306e-07,
|
|
"q3": 4.6996865421533585e-07,
|
|
"iqr_outliers": 2764,
|
|
"stddev_outliers": 2699,
|
|
"outliers": "2699;2764",
|
|
"ld15iqr": 4.199100658297539e-07,
|
|
"hd15iqr": 5.098991096019745e-07,
|
|
"ops": 2158711.0341661335,
|
|
"total": 0.050627433811314404,
|
|
"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.7400168366730214e-07,
|
|
"max": 1.9949977286159994e-06,
|
|
"mean": 4.096341411204851e-07,
|
|
"stddev": 4.776310741259248e-08,
|
|
"rounds": 123456,
|
|
"median": 3.930006641894579e-07,
|
|
"iqr": 1.0995427146553972e-08,
|
|
"q1": 3.890017978847027e-07,
|
|
"q3": 3.9999722503125665e-07,
|
|
"iqr_outliers": 15020,
|
|
"stddev_outliers": 14329,
|
|
"outliers": "14329;15020",
|
|
"ld15iqr": 3.7400168366730214e-07,
|
|
"hd15iqr": 4.1649909690022466e-07,
|
|
"ops": 2441202.770024658,
|
|
"total": 0.05057179252617061,
|
|
"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": 1.0244955774396658e-07,
|
|
"max": 3.0219496693462134e-07,
|
|
"mean": 1.0629697690939662e-07,
|
|
"stddev": 8.48821369424721e-09,
|
|
"rounds": 45683,
|
|
"median": 1.0469986591488123e-07,
|
|
"iqr": 1.2497184798121468e-09,
|
|
"q1": 1.0410032700747252e-07,
|
|
"q3": 1.0535004548728467e-07,
|
|
"iqr_outliers": 2679,
|
|
"stddev_outliers": 2144,
|
|
"outliers": "2144;2679",
|
|
"ld15iqr": 1.0244955774396658e-07,
|
|
"hd15iqr": 1.0724470485001803e-07,
|
|
"ops": 9407605.268514466,
|
|
"total": 0.0048559647961519655,
|
|
"iterations": 200
|
|
}
|
|
},
|
|
{
|
|
"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": 7.010065019130707e-06,
|
|
"mean": 2.4848519403796424e-07,
|
|
"stddev": 6.42611731375951e-08,
|
|
"rounds": 165564,
|
|
"median": 2.400483936071396e-07,
|
|
"iqr": 1.0011717677116394e-08,
|
|
"q1": 2.3993197828531265e-07,
|
|
"q3": 2.4994369596242905e-07,
|
|
"iqr_outliers": 11491,
|
|
"stddev_outliers": 5860,
|
|
"outliers": "5860;11491",
|
|
"ld15iqr": 2.2898893803358078e-07,
|
|
"hd15iqr": 2.689193934202194e-07,
|
|
"ops": 4024384.6474298076,
|
|
"total": 0.04114020266570151,
|
|
"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.8400605767965317e-06,
|
|
"max": 1.8540071323513985e-05,
|
|
"mean": 1.959436897679786e-06,
|
|
"stddev": 3.0188304181613786e-07,
|
|
"rounds": 54231,
|
|
"median": 1.9100261852145195e-06,
|
|
"iqr": 3.993045538663864e-08,
|
|
"q1": 1.8900027498602867e-06,
|
|
"q3": 1.9299332052469254e-06,
|
|
"iqr_outliers": 3016,
|
|
"stddev_outliers": 2698,
|
|
"outliers": "2698;3016",
|
|
"ld15iqr": 1.8400605767965317e-06,
|
|
"hd15iqr": 1.9898870959877968e-06,
|
|
"ops": 510350.70391096687,
|
|
"total": 0.10626222239807248,
|
|
"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": 2.6299385353922844e-06,
|
|
"max": 0.00012721994426101446,
|
|
"mean": 2.831710488308695e-06,
|
|
"stddev": 7.816406611800028e-07,
|
|
"rounds": 37065,
|
|
"median": 2.749962732195854e-06,
|
|
"iqr": 4.9942173063755035e-08,
|
|
"q1": 2.720043994486332e-06,
|
|
"q3": 2.769986167550087e-06,
|
|
"iqr_outliers": 2649,
|
|
"stddev_outliers": 1545,
|
|
"outliers": "1545;2649",
|
|
"ld15iqr": 2.649961970746517e-06,
|
|
"hd15iqr": 2.8490321710705757e-06,
|
|
"ops": 353143.44602977874,
|
|
"total": 0.10495734924916178,
|
|
"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": 2.6399502530694008e-06,
|
|
"max": 0.00027023896109312773,
|
|
"mean": 2.9332861553407637e-06,
|
|
"stddev": 1.5312859856949828e-06,
|
|
"rounds": 90581,
|
|
"median": 2.7599744498729706e-06,
|
|
"iqr": 5.005858838558197e-08,
|
|
"q1": 2.739951014518738e-06,
|
|
"q3": 2.7900096029043198e-06,
|
|
"iqr_outliers": 6430,
|
|
"stddev_outliers": 1665,
|
|
"outliers": "1665;6430",
|
|
"ld15iqr": 2.6689376682043076e-06,
|
|
"hd15iqr": 2.8689391911029816e-06,
|
|
"ops": 340914.57397678564,
|
|
"total": 0.2656999932369217,
|
|
"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.0015740980161353946,
|
|
"max": 0.005370722035877407,
|
|
"mean": 0.0018782802842651379,
|
|
"stddev": 0.0002577749899895655,
|
|
"rounds": 456,
|
|
"median": 0.0018291924498043954,
|
|
"iqr": 0.00012459448771551251,
|
|
"q1": 0.0017820930224843323,
|
|
"q3": 0.0019066875101998448,
|
|
"iqr_outliers": 26,
|
|
"stddev_outliers": 22,
|
|
"outliers": "22;26",
|
|
"ld15iqr": 0.001629277947358787,
|
|
"hd15iqr": 0.002119177021086216,
|
|
"ops": 532.4019042191256,
|
|
"total": 0.8564958096249029,
|
|
"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.17070704698562622,
|
|
"max": 0.21755445003509521,
|
|
"mean": 0.181204935341763,
|
|
"stddev": 0.01831974106077427,
|
|
"rounds": 6,
|
|
"median": 0.1731430985382758,
|
|
"iqr": 0.011092103901319206,
|
|
"q1": 0.17079490702599287,
|
|
"q3": 0.18188701092731208,
|
|
"iqr_outliers": 1,
|
|
"stddev_outliers": 1,
|
|
"outliers": "1;1",
|
|
"ld15iqr": 0.17070704698562622,
|
|
"hd15iqr": 0.21755445003509521,
|
|
"ops": 5.518613486514273,
|
|
"total": 1.087229612050578,
|
|
"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.7284791360143572,
|
|
"max": 1.7569332029670477,
|
|
"mean": 1.7407544063171372,
|
|
"stddev": 0.014623153558453282,
|
|
"rounds": 3,
|
|
"median": 1.7368508799700066,
|
|
"iqr": 0.02134055021451786,
|
|
"q1": 1.7305720720032696,
|
|
"q3": 1.7519126222177874,
|
|
"iqr_outliers": 0,
|
|
"stddev_outliers": 1,
|
|
"outliers": "1;0",
|
|
"ld15iqr": 1.7284791360143572,
|
|
"hd15iqr": 1.7569332029670477,
|
|
"ops": 0.5744635753159865,
|
|
"total": 5.2222632189514115,
|
|
"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.010704944957979023,
|
|
"max": 0.011916692950762808,
|
|
"mean": 0.011209826008416713,
|
|
"stddev": 0.0006434438216560385,
|
|
"rounds": 5,
|
|
"median": 0.010782864061184227,
|
|
"iqr": 0.0011864805710501969,
|
|
"q1": 0.010726199980126694,
|
|
"q3": 0.01191268055117689,
|
|
"iqr_outliers": 0,
|
|
"stddev_outliers": 2,
|
|
"outliers": "2;0",
|
|
"ld15iqr": 0.010704944957979023,
|
|
"hd15iqr": 0.011916692950762808,
|
|
"ops": 89.20745061066663,
|
|
"total": 0.05604913004208356,
|
|
"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.0001263599842786789,
|
|
"max": 0.0004909689305350184,
|
|
"mean": 0.0001643969374977797,
|
|
"stddev": 3.894678555971167e-05,
|
|
"rounds": 1991,
|
|
"median": 0.00014666002243757248,
|
|
"iqr": 3.866010229103267e-05,
|
|
"q1": 0.00013921994832344353,
|
|
"q3": 0.0001778800506144762,
|
|
"iqr_outliers": 130,
|
|
"stddev_outliers": 288,
|
|
"outliers": "288;130",
|
|
"ld15iqr": 0.0001263599842786789,
|
|
"hd15iqr": 0.00023589993361383677,
|
|
"ops": 6082.838374124249,
|
|
"total": 0.32731430255807936,
|
|
"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.00021265994291752577,
|
|
"max": 0.0014270880492404103,
|
|
"mean": 0.0002947074022932206,
|
|
"stddev": 7.450309873414455e-05,
|
|
"rounds": 2543,
|
|
"median": 0.0002772099105641246,
|
|
"iqr": 9.807926835492253e-05,
|
|
"q1": 0.00023547248565591872,
|
|
"q3": 0.00033355175401084125,
|
|
"iqr_outliers": 51,
|
|
"stddev_outliers": 551,
|
|
"outliers": "551;51",
|
|
"ld15iqr": 0.00021265994291752577,
|
|
"hd15iqr": 0.00048129993956536055,
|
|
"ops": 3393.1960725066724,
|
|
"total": 0.74944092403166,
|
|
"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.0001050999853760004,
|
|
"max": 0.0007763390894979239,
|
|
"mean": 0.0001522257840901744,
|
|
"stddev": 4.6364394881986185e-05,
|
|
"rounds": 3415,
|
|
"median": 0.00013632990885525942,
|
|
"iqr": 5.4123258450999856e-05,
|
|
"q1": 0.00011928676394745708,
|
|
"q3": 0.00017341002239845693,
|
|
"iqr_outliers": 110,
|
|
"stddev_outliers": 523,
|
|
"outliers": "523;110",
|
|
"ld15iqr": 0.0001050999853760004,
|
|
"hd15iqr": 0.0002547700423747301,
|
|
"ops": 6569.1893523611425,
|
|
"total": 0.5198510526679456,
|
|
"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.00014620996080338955,
|
|
"max": 0.0006190190324559808,
|
|
"mean": 0.00019979103793885502,
|
|
"stddev": 4.958736138507597e-05,
|
|
"rounds": 3632,
|
|
"median": 0.0001842849887907505,
|
|
"iqr": 5.90750714763999e-05,
|
|
"q1": 0.00016182998660951853,
|
|
"q3": 0.00022090505808591843,
|
|
"iqr_outliers": 138,
|
|
"stddev_outliers": 610,
|
|
"outliers": "610;138",
|
|
"ld15iqr": 0.00014620996080338955,
|
|
"hd15iqr": 0.0003099399618804455,
|
|
"ops": 5005.229515380188,
|
|
"total": 0.7256410497939214,
|
|
"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.00134059798438102,
|
|
"max": 0.0039493340300396085,
|
|
"mean": 0.0015644898726728505,
|
|
"stddev": 0.0001888922071878221,
|
|
"rounds": 565,
|
|
"median": 0.001525858067907393,
|
|
"iqr": 0.00019056489691138268,
|
|
"q1": 0.0014467554283328354,
|
|
"q3": 0.0016373203252442181,
|
|
"iqr_outliers": 20,
|
|
"stddev_outliers": 81,
|
|
"outliers": "81;20",
|
|
"ld15iqr": 0.00134059798438102,
|
|
"hd15iqr": 0.0019280769629403949,
|
|
"ops": 639.1859848166043,
|
|
"total": 0.8839367780601606,
|
|
"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.000909739057533443,
|
|
"max": 0.0022729469928890467,
|
|
"mean": 0.0011316901686076275,
|
|
"stddev": 0.00017006841364525387,
|
|
"rounds": 729,
|
|
"median": 0.001088408986106515,
|
|
"iqr": 0.0001559839874971658,
|
|
"q1": 0.0010253940126858652,
|
|
"q3": 0.001181378000183031,
|
|
"iqr_outliers": 46,
|
|
"stddev_outliers": 107,
|
|
"outliers": "107;46",
|
|
"ld15iqr": 0.000909739057533443,
|
|
"hd15iqr": 0.0014172379160299897,
|
|
"ops": 883.6340791317008,
|
|
"total": 0.8250021329149604,
|
|
"iterations": 1
|
|
}
|
|
}
|
|
],
|
|
"datetime": "2026-05-04T23:19:03.076528+00:00",
|
|
"version": "5.2.3"
|
|
} |