From 95443eb4f0bcb1d9f38d659548e6db00e3e35105 Mon Sep 17 00:00:00 2001 From: github-action-benchmark Date: Wed, 23 Oct 2024 04:59:18 +0000 Subject: [PATCH] add Matchbox performance benchmarks on Python 3.12 (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 a5d9ed3..c39feb3 100644 --- a/benchmarks/data.js +++ b/benchmarks/data.js @@ -1,5 +1,5 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1729659556246, + "lastUpdate": 1729659557960, "repoUrl": "https://github.com/ClearcodeHQ/matchbox", "entries": { "Matchbox performance benchmarks on Python 3.9": [ @@ -141382,6 +141382,128 @@ window.BENCHMARK_DATA = { "extra": "mean: 29.537133030302268 msec\nrounds: 33" } ] + }, + { + "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": 1729659552412, + "tool": "pytest", + "benches": [ + { + "name": "benchmarks/test_matchbox_add.py::test_create[colour]", + "value": 4.422987928477069, + "unit": "iter/sec", + "range": "stddev: 0.0024816374845468103", + "extra": "mean: 226.09150559999875 msec\nrounds: 5" + }, + { + "name": "benchmarks/test_matchbox_add.py::test_create[legs]", + "value": 4.1376151706526025, + "unit": "iter/sec", + "range": "stddev: 0.0016050914924075658", + "extra": "mean: 241.6851154000085 msec\nrounds: 5" + }, + { + "name": "benchmarks/test_matchbox_add.py::test_create[size]", + "value": 1.0088897922505986, + "unit": "iter/sec", + "range": "stddev: 0.013716588703212611", + "extra": "mean: 991.1885398000038 msec\nrounds: 5" + }, + { + "name": "benchmarks/test_matchbox_add.py::test_create[weight]", + "value": 0.987454042486677, + "unit": "iter/sec", + "range": "stddev: 0.006951922595866425", + "extra": "mean: 1.012705358400001 sec\nrounds: 5" + }, + { + "name": "benchmarks/test_matchbox_add.py::test_create[armrest]", + "value": 4.630649320047977, + "unit": "iter/sec", + "range": "stddev: 0.0009022170154139821", + "extra": "mean: 215.95243580000556 msec\nrounds: 5" + }, + { + "name": "benchmarks/test_matchbox_add.py::test_add[TwoElementsSameValueAndMatching]", + "value": 239151.28259755942, + "unit": "iter/sec", + "range": "stddev: 3.5257308018816126e-7", + "extra": "mean: 4.181453635282344 usec\nrounds: 79403" + }, + { + "name": "benchmarks/test_matchbox_add.py::test_add[TwoElementsDifferentValueAndMatching]", + "value": 223711.9054928606, + "unit": "iter/sec", + "range": "stddev: 8.937044668643821e-7", + "extra": "mean: 4.470034787808435 usec\nrounds: 98339" + }, + { + "name": "benchmarks/test_matchbox_add.py::test_add[TwoElementsSameValueAndNotMatching]", + "value": 250983.73998246138, + "unit": "iter/sec", + "range": "stddev: 4.2764857395673325e-7", + "extra": "mean: 3.9843218531602065 usec\nrounds: 102786" + }, + { + "name": "benchmarks/test_matchbox_add.py::test_add[TwoElementsDifferentValueAndNotMatching]", + "value": 253090.34148210764, + "unit": "iter/sec", + "range": "stddev: 5.22239163790221e-7", + "extra": "mean: 3.9511582865784534 usec\nrounds: 101948" + }, + { + "name": "benchmarks/test_matchbox_add.py::test_add[TwoElementsSameValueAndOneMatchingOtherNo]", + "value": 243368.44582751225, + "unit": "iter/sec", + "range": "stddev: 4.161658161613233e-7", + "extra": "mean: 4.108996121496997 usec\nrounds: 103649" + }, + { + "name": "benchmarks/test_matchbox_add.py::test_add[TwoElementsDifferentValueAndOneMatchingOtherNo]", + "value": 237495.66428061217, + "unit": "iter/sec", + "range": "stddev: 3.80539853877856e-7", + "extra": "mean: 4.210603183132023 usec\nrounds: 95694" + }, + { + "name": "benchmarks/test_matchbox_match.py::test_match_matchbox", + "value": 111.10756235614132, + "unit": "iter/sec", + "range": "stddev: 0.0008181378433083018", + "extra": "mean: 9.000287458333625 msec\nrounds: 96" + }, + { + "name": "benchmarks/test_matchbox_match.py::test_match_one_after_another", + "value": 17.644052131742292, + "unit": "iter/sec", + "range": "stddev: 0.004410345881996193", + "extra": "mean: 56.67632313333305 msec\nrounds: 15" + }, + { + "name": "benchmarks/test_matchbox_match.py::test_match_one_for_multi_condition", + "value": 27.479282622629007, + "unit": "iter/sec", + "range": "stddev: 0.001029578245051828", + "extra": "mean: 36.391051896547935 msec\nrounds: 29" + } + ] } ], "Matchbox performance benchmarks on Python 3.13": [