forked from ixc/python-edtf
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Benchmarks #1
Open
ahankinson
wants to merge
15
commits into
main
Choose a base branch
from
benchmarks
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Benchmarks #1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Delivers significant performance improvements by caching previously computed results.
# Conflicts: # edtf/fields.py # edtf/jdutil.py # edtf/natlang/en.py # edtf/natlang/tests.py # edtf/parser/grammar.py # edtf/parser/parser_classes.py # edtf/parser/tests.py # pyproject.toml # setup.py
Coverage Report
|
Coverage Report
|
Coverage Report
|
Coverage Report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark
Benchmark suite | Current: 51255e3 | Previous: 1a5ebd5 | Ratio |
---|---|---|---|
edtf/natlang/tests.py::test_benchmark_natlang[23rd Dynasty-None] |
3541928.773400012 iter/sec (stddev: 9.68032736021079e-8 ) |
70908.05993591757 iter/sec (stddev: 9.336401373974975e-7 ) |
0.020019617692043714 |
edtf/natlang/tests.py::test_benchmark_natlang[January 2008-2008-01] |
3430974.3814481827 iter/sec (stddev: 1.5442413250947235e-7 ) |
8081.312658856538 iter/sec (stddev: 0.000007619156669014199 ) |
0.0023553987177967473 |
edtf/natlang/tests.py::test_benchmark_natlang[ca1860-1860~] |
3089178.178035518 iter/sec (stddev: 5.4601010287957946e-8 ) |
9656.201214299597 iter/sec (stddev: 0.0000058122713925155625 ) |
0.003125815559282568 |
edtf/natlang/tests.py::test_benchmark_natlang[uncertain: approx 1862-1862%] |
3229125.91377079 iter/sec (stddev: 3.2379216557299555e-8 ) |
6652.449123393891 iter/sec (stddev: 0.000006904746593308474 ) |
0.0020601392763980324 |
edtf/natlang/tests.py::test_benchmark_natlang[January-XXXX-01] |
3368121.1215553223 iter/sec (stddev: 3.972937351691444e-8 ) |
11498.54538461711 iter/sec (stddev: 0.00000493408016541802 ) |
0.0034139346447574727 |
edtf/natlang/tests.py::test_benchmark_natlang[Winter 1872-1872-24] |
3533042.5170700424 iter/sec (stddev: 4.6347118400829334e-8 ) |
8370.392302524268 iter/sec (stddev: 0.00000553850252740975 ) |
0.002369173951935865 |
edtf/natlang/tests.py::test_benchmark_natlang[before approx January 18 1928-/1928-01-18~] |
3384197.38576659 iter/sec (stddev: 2.493774769118655e-7 ) |
5682.908434183922 iter/sec (stddev: 0.000007648465545337454 ) |
0.0016792485149020426 |
edtf/natlang/tests.py::test_benchmark_natlang[birthday in 1872-1872] |
3496595.4966845135 iter/sec (stddev: 5.306616696800164e-8 ) |
7211.885201598034 iter/sec (stddev: 0.000011366674332750247 ) |
0.002062544897868905 |
edtf/natlang/tests.py::test_benchmark_natlang[1270 CE-1270] |
3514650.9138252772 iter/sec (stddev: 1.3841494592800146e-7 ) |
49807.41416902325 iter/sec (stddev: 0.0000014962297096935839 ) |
0.01417136876185915 |
edtf/natlang/tests.py::test_benchmark_natlang[2nd century bce--01XX] |
3514928.7751975628 iter/sec (stddev: 1.944995132887494e-7 ) |
44095.45879572501 iter/sec (stddev: 0.0000015617715863917242 ) |
0.012545192695475472 |
edtf/natlang/tests.py::test_benchmark_natlang[1858/1860-[1858, 1860]] |
3485516.3747026883 iter/sec (stddev: 7.215368108788735e-8 ) |
21807.319599248884 iter/sec (stddev: 0.000002798861518096165 ) |
0.006256553478710606 |
edtf/parser/tests.py::test_benchmark_parser[2001-02-03] |
123.43790331747078 iter/sec (stddev: 0.0007441314201473296 ) |
124.01091520648583 iter/sec (stddev: 0.0006448552256745901 ) |
1.00 |
edtf/parser/tests.py::test_benchmark_parser[2008-12] |
131.88907897937648 iter/sec (stddev: 0.0020789749979568404 ) |
128.36248456288072 iter/sec (stddev: 0.0028400206829592386 ) |
0.97 |
edtf/parser/tests.py::test_benchmark_parser[2008] |
165.0244069264744 iter/sec (stddev: 0.0014348794355952042 ) |
161.03773548946023 iter/sec (stddev: 0.0016489937904663149 ) |
0.98 |
edtf/parser/tests.py::test_benchmark_parser[-0999] |
160.68826209059137 iter/sec (stddev: 0.0022181955957517284 ) |
159.3818083252433 iter/sec (stddev: 0.002639994681455629 ) |
0.99 |
edtf/parser/tests.py::test_benchmark_parser[2004-01-01T10:10:10+05:00] |
114.39697717787867 iter/sec (stddev: 0.0006408023426090117 ) |
106.31511465424398 iter/sec (stddev: 0.002716914997564173 ) |
0.93 |
edtf/parser/tests.py::test_benchmark_parser[-2005/-1999-02] |
89.22611542094933 iter/sec (stddev: 0.002031124824459946 ) |
87.04773799144041 iter/sec (stddev: 0.0027618461789397355 ) |
0.98 |
edtf/parser/tests.py::test_benchmark_parser[/2006] |
210.67787634487564 iter/sec (stddev: 0.0010911644752570789 ) |
212.47132987123555 iter/sec (stddev: 0.000154256817795709 ) |
1.01 |
edtf/parser/tests.py::test_benchmark_parser[?2004-%06] |
172.72645627138323 iter/sec (stddev: 0.00023991039773930747 ) |
163.0027497205315 iter/sec (stddev: 0.0018175537934075712 ) |
0.94 |
edtf/parser/tests.py::test_benchmark_parser[[1667, 1760-12]] |
18.08296858386681 iter/sec (stddev: 0.004926430701719912 ) |
18.16706819138367 iter/sec (stddev: 0.0006011220180233923 ) |
1.00 |
edtf/parser/tests.py::test_benchmark_parser[Y3388E2S3] |
343.1803911004761 iter/sec (stddev: 0.00010747306297068591 ) |
326.9720390767507 iter/sec (stddev: 0.00033695307092477844 ) |
0.95 |
edtf/parser/tests.py::test_benchmark_parser[2001-29] |
95.22732175045614 iter/sec (stddev: 0.002143829492594313 ) |
90.18575123804419 iter/sec (stddev: 0.0038441798996662548 ) |
0.95 |
This comment was automatically generated by workflow using github-action-benchmark.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.