nils-braun / pytest-benchmark-commenter Goto Github PK
View Code? Open in Web Editor NEWComment on a PR with the current pytest benchmark
License: MIT License
Comment on a PR with the current pytest benchmark
License: MIT License
Just want to start by saying thanks for creating this, it's a great addition to the github actions market.
Just deployed it to test our new library, but the library is a log parser where the tests are doing tight loops on the parsing methods, so the attributes we care most about are: operations per second, rounds taken and mean. However the mean times are in microseconds, so round down to 0.00
on the current table.
Not sure if you'd be interested in a fully configurable way to decide on units, and which columns to include, or just have a templated format option between normal testing and this sort of testing.
----------------------------------------------------------------------------------------------------- benchmark: 8 tests -----------------------------------------------------------------------------------------------------
Name (time in us) Min Max Mean StdDev Median IQR Outliers OPS (Kops/s) Rounds Iterations
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
test_apache_access_speed 19.3000 (1.0) 370.1000 (1.93) 21.7065 (1.0) 6.0220 (1.0) 20.3000 (1.0) 0.7000 (1.00) 1432;2866 46.0692 (1.0) 21979 1
test_cloudflare_access_speed 48.8000 (2.53) 352.4000 (1.84) 54.0498 (2.49) 14.2508 (2.37) 50.6000 (2.49) 1.5000 (2.14) 536;1256 18.5014 (0.40) 8937 1
test_apache_access_speed_validation 102.7000 (5.32) 191.6000 (1.0) 107.8831 (4.97) 10.5300 (1.75) 105.0000 (5.17) 1.4500 (2.07) 10;22 9.2693 (0.20) 148 1
test_cloudflare_access_speed_with_validation 145.4000 (7.53) 3,078.3000 (16.07) 292.0481 (13.45) 265.1503 (44.03) 240.7500 (11.86) 56.1000 (80.14) 7;20 3.4241 (0.07) 158 1
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.