From fb0b5328bced6eaca1118b03618a1889378c52e2 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Wed, 23 Oct 2024 04:59:26 +0000 Subject: [PATCH] add Matchbox performance benchmarks on Python 3.11 (pytest) benchmark result for 050a668444cb6f1abecc079ac2c8fa2694252ff8 --- benchmarks/data.js | 124 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 123 insertions(+), 1 deletion(-) diff --git a/benchmarks/data.js b/benchmarks/data.js index 3de06f0..f78f1cf 100644 --- a/benchmarks/data.js +++ b/benchmarks/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1729659562966, + "lastUpdate": 1729659566241, "repoUrl": "https://github.com/ClearcodeHQ/matchbox", "entries": { "Matchbox performance benchmarks on Python 3.9": [ @@ -127106,6 +127106,128 @@ window.BENCHMARK_DATA = { "extra": "mean: 30.384873555555142 msec\nrounds: 36" } ] + }, + { + "commit": { + "author": { + "email": "119339316+merger-application[bot]@users.noreply.github.com", + "name": "merger-application[bot]", + "username": "merger-application[bot]" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "050a668444cb6f1abecc079ac2c8fa2694252ff8", + "message": "Bump mypy from 1.12.1 to 1.13.0", + "timestamp": "2024-10-23T04:55:10Z", + "tree_id": "8c548a494695c59ed9e158bc760e1d33076fa3a7", + "url": "https://github.com/ClearcodeHQ/matchbox/commit/050a668444cb6f1abecc079ac2c8fa2694252ff8" + }, + "date": 1729659557295, + "tool": "pytest", + "benches": [ + { + "name": "benchmarks/test_matchbox_add.py::test_create[colour]", + "value": 6.639924610599621, + "unit": "iter/sec", + "range": "stddev: 0.004632392492607556", + "extra": "mean: 150.60411957142605 msec\nrounds: 7" + }, + { + "name": "benchmarks/test_matchbox_add.py::test_create[legs]", + "value": 6.375477509034684, + "unit": "iter/sec", + "range": "stddev: 0.004714388004716624", + "extra": "mean: 156.85099642856568 msec\nrounds: 7" + }, + { + "name": "benchmarks/test_matchbox_add.py::test_create[size]", + "value": 1.0983339610044631, + "unit": "iter/sec", + "range": "stddev: 0.01698871800918241", + "extra": "mean: 910.4698894000023 msec\nrounds: 5" + }, + { + "name": "benchmarks/test_matchbox_add.py::test_create[weight]", + "value": 1.1151716092949278, + "unit": "iter/sec", + "range": "stddev: 0.0012854501014531944", + "extra": "mean: 896.7229721999956 msec\nrounds: 5" + }, + { + "name": "benchmarks/test_matchbox_add.py::test_create[armrest]", + "value": 7.631249973218834, + "unit": "iter/sec", + "range": "stddev: 0.008593208678293336", + "extra": "mean: 131.04013150000426 msec\nrounds: 8" + }, + { + "name": "benchmarks/test_matchbox_add.py::test_add[TwoElementsSameValueAndMatching]", + "value": 404176.2805643988, + "unit": "iter/sec", + "range": "stddev: 2.823678012072068e-7", + "extra": "mean: 2.47416795118106 usec\nrounds: 120410" + }, + { + "name": "benchmarks/test_matchbox_add.py::test_add[TwoElementsDifferentValueAndMatching]", + "value": 378351.6551910078, + "unit": "iter/sec", + "range": "stddev: 2.9398164878929927e-7", + "extra": "mean: 2.6430438093237836 usec\nrounds: 126343" + }, + { + "name": "benchmarks/test_matchbox_add.py::test_add[TwoElementsSameValueAndNotMatching]", + "value": 429797.1603216728, + "unit": "iter/sec", + "range": "stddev: 2.564179230696324e-7", + "extra": "mean: 2.326678936760705 usec\nrounds: 136185" + }, + { + "name": "benchmarks/test_matchbox_add.py::test_add[TwoElementsDifferentValueAndNotMatching]", + "value": 432500.88049768034, + "unit": "iter/sec", + "range": "stddev: 2.9326352815615053e-7", + "extra": "mean: 2.3121340212054515 usec\nrounds: 129972" + }, + { + "name": "benchmarks/test_matchbox_add.py::test_add[TwoElementsSameValueAndOneMatchingOtherNo]", + "value": 413718.0665452984, + "unit": "iter/sec", + "range": "stddev: 3.053987602230328e-7", + "extra": "mean: 2.4171049825074755 usec\nrounds: 137099" + }, + { + "name": "benchmarks/test_matchbox_add.py::test_add[TwoElementsDifferentValueAndOneMatchingOtherNo]", + "value": 397902.52587450814, + "unit": "iter/sec", + "range": "stddev: 2.5733023410219817e-7", + "extra": "mean: 2.5131783162275863 usec\nrounds: 119389" + }, + { + "name": "benchmarks/test_matchbox_match.py::test_match_matchbox", + "value": 139.852701135012, + "unit": "iter/sec", + "range": "stddev: 0.0005516567443327284", + "extra": "mean: 7.150380306452663 msec\nrounds: 124" + }, + { + "name": "benchmarks/test_matchbox_match.py::test_match_one_after_another", + "value": 26.189670616474718, + "unit": "iter/sec", + "range": "stddev: 0.0015785388468760608", + "extra": "mean: 38.182992624998725 msec\nrounds: 24" + }, + { + "name": "benchmarks/test_matchbox_match.py::test_match_one_for_multi_condition", + "value": 45.048265756233114, + "unit": "iter/sec", + "range": "stddev: 0.0009120048066713993", + "extra": "mean: 22.198412818181236 msec\nrounds: 44" + } + ] } ], "Matchbox performance benchmarks on Python 3.12": [