-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from artshumrc/30_improve_exceptions
Improve exceptions
- Loading branch information
Showing
7 changed files
with
96 additions
and
15 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,43 @@ | ||
# Register your models here. | ||
from django.contrib import admin | ||
|
||
from .models import TestEvent | ||
|
||
|
||
class TestEventAdmin(admin.ModelAdmin): | ||
list_display = ( | ||
"date_display", | ||
"date_edtf_direct", | ||
"date_earliest", | ||
"date_latest", | ||
"date_sort_ascending", | ||
"date_sort_descending", | ||
"date_edtf", | ||
) | ||
search_fields = ("date_display", "date_edtf_direct") | ||
list_filter = ("date_earliest", "date_latest") | ||
readonly_fields = ( | ||
"date_earliest", | ||
"date_latest", | ||
"date_sort_ascending", | ||
"date_sort_descending", | ||
"date_edtf", | ||
) | ||
|
||
fieldsets = ( | ||
(None, {"fields": ("date_display", "date_edtf_direct", "date_edtf")}), | ||
( | ||
"Computed Dates", | ||
{ | ||
"classes": ("collapse",), | ||
"fields": ( | ||
"date_earliest", | ||
"date_latest", | ||
"date_sort_ascending", | ||
"date_sort_descending", | ||
), | ||
}, | ||
), | ||
) | ||
|
||
|
||
admin.site.register(TestEvent, TestEventAdmin) |
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
d779dea
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.
Coverage Report
d779dea
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.
Coverage Report
d779dea
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.
Coverage Report
d779dea
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.
Coverage Report
d779dea
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.
Coverage Report
d779dea
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
edtf/natlang/tests.py::test_benchmark_natlang[23rd Dynasty-None]
111005.63683471343
iter/sec (stddev: 0.0000017682682176122463
)86935.54190741367
iter/sec (stddev: 8.801351312055946e-7
)0.78
edtf/natlang/tests.py::test_benchmark_natlang[January 2008-2008-01]
11527.049523833446
iter/sec (stddev: 0.00000696274694724977
)8871.250916535719
iter/sec (stddev: 0.000006170533054955764
)0.77
edtf/natlang/tests.py::test_benchmark_natlang[ca1860-1860~]
14254.600310800304
iter/sec (stddev: 0.000004171374347488453
)11292.512453597992
iter/sec (stddev: 0.000006285789742846082
)0.79
edtf/natlang/tests.py::test_benchmark_natlang[uncertain: approx 1862-1862%]
9492.852176537901
iter/sec (stddev: 0.0000049421127908965
)7549.978591732842
iter/sec (stddev: 0.000005876983775780713
)0.80
edtf/natlang/tests.py::test_benchmark_natlang[January-XXXX-01]
16757.389733104177
iter/sec (stddev: 0.000005789960308121746
)12936.725208274147
iter/sec (stddev: 0.000012666981444328682
)0.77
edtf/natlang/tests.py::test_benchmark_natlang[Winter 1872-1872-24]
11366.497349357842
iter/sec (stddev: 0.00001685585653437466
)9424.857320878093
iter/sec (stddev: 0.0000058642857514609236
)0.83
edtf/natlang/tests.py::test_benchmark_natlang[before approx January 18 1928-/1928-01-18~]
7565.309539663209
iter/sec (stddev: 0.000006333742116734396
)6077.713959723717
iter/sec (stddev: 0.000006937932015900124
)0.80
edtf/natlang/tests.py::test_benchmark_natlang[birthday in 1872-1872]
10281.974119491722
iter/sec (stddev: 0.000005685894741382306
)8213.645609693585
iter/sec (stddev: 0.0000064998136694677345
)0.80
edtf/natlang/tests.py::test_benchmark_natlang[1270 CE-1270]
68293.37375977173
iter/sec (stddev: 0.0000015277564740450068
)51452.332000218776
iter/sec (stddev: 0.0000014305935571446778
)0.75
edtf/natlang/tests.py::test_benchmark_natlang[2nd century bce--01XX]
56457.11584605515
iter/sec (stddev: 0.0000013775247465895603
)45922.4966193415
iter/sec (stddev: 0.0000015788419936961112
)0.81
edtf/natlang/tests.py::test_benchmark_natlang[1858/1860-[1858, 1860]]
32791.422863402906
iter/sec (stddev: 0.000002322618862403658
)24937.94683976795
iter/sec (stddev: 0.0000030011544247201534
)0.76
edtf/parser/tests.py::test_benchmark_parser[2001-02-03]
143.76257483714818
iter/sec (stddev: 0.0005744237587077905
)165.36847658209376
iter/sec (stddev: 0.00038541761067305324
)1.15
edtf/parser/tests.py::test_benchmark_parser[2008-12]
150.3612533892027
iter/sec (stddev: 0.002118574842319749
)169.41717431307598
iter/sec (stddev: 0.002010022722081676
)1.13
edtf/parser/tests.py::test_benchmark_parser[2008]
183.96503515596967
iter/sec (stddev: 0.002042248208139641
)210.6033384312808
iter/sec (stddev: 0.0012366861130870522
)1.14
edtf/parser/tests.py::test_benchmark_parser[-0999]
184.52193671007785
iter/sec (stddev: 0.0015797212485958547
)202.47874479380712
iter/sec (stddev: 0.0018942275022620898
)1.10
edtf/parser/tests.py::test_benchmark_parser[2004-01-01T10:10:10+05:00]
124.0054830892155
iter/sec (stddev: 0.002651854613621762
)147.00507524179153
iter/sec (stddev: 0.0018282458353072648
)1.19
edtf/parser/tests.py::test_benchmark_parser[-2005/-1999-02]
101.09448387669151
iter/sec (stddev: 0.0017434150030809575
)125.91576445493938
iter/sec (stddev: 0.0017271233420462812
)1.25
edtf/parser/tests.py::test_benchmark_parser[/2006]
230.8840765355795
iter/sec (stddev: 0.0011766118290818851
)337.34774453386945
iter/sec (stddev: 0.00013720999161622756
)1.46
edtf/parser/tests.py::test_benchmark_parser[?2004-%06]
195.02695994500073
iter/sec (stddev: 0.0004080168133067918
)226.95544995852498
iter/sec (stddev: 0.0011509342010363613
)1.16
edtf/parser/tests.py::test_benchmark_parser[[1667, 1760-12]]
19.217922899334646
iter/sec (stddev: 0.0038690581918563597
)32.429203557428934
iter/sec (stddev: 0.003395677909733358
)1.69
edtf/parser/tests.py::test_benchmark_parser[Y3388E2S3]
407.6574222826331
iter/sec (stddev: 0.00009371461743442357
)457.37605744003304
iter/sec (stddev: 0.00007655377782067135
)1.12
edtf/parser/tests.py::test_benchmark_parser[2001-29]
108.34927744937332
iter/sec (stddev: 0.0018375314022531799
)122.30268409990637
iter/sec (stddev: 0.002483795001362941
)1.13
This comment was automatically generated by workflow using github-action-benchmark.
d779dea
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
edtf/natlang/tests.py::test_benchmark_natlang[23rd Dynasty-None]
68565.70186519259
iter/sec (stddev: 8.684546637475877e-7
)86935.54190741367
iter/sec (stddev: 8.801351312055946e-7
)1.27
edtf/natlang/tests.py::test_benchmark_natlang[January 2008-2008-01]
8251.641887390035
iter/sec (stddev: 0.000006147149319770127
)8871.250916535719
iter/sec (stddev: 0.000006170533054955764
)1.08
edtf/natlang/tests.py::test_benchmark_natlang[ca1860-1860~]
9893.095505289712
iter/sec (stddev: 0.000007540126092277109
)11292.512453597992
iter/sec (stddev: 0.000006285789742846082
)1.14
edtf/natlang/tests.py::test_benchmark_natlang[uncertain: approx 1862-1862%]
6683.548631438719
iter/sec (stddev: 0.00001910523673765663
)7549.978591732842
iter/sec (stddev: 0.000005876983775780713
)1.13
edtf/natlang/tests.py::test_benchmark_natlang[January-XXXX-01]
11749.935405959652
iter/sec (stddev: 0.000004897789718904393
)12936.725208274147
iter/sec (stddev: 0.000012666981444328682
)1.10
edtf/natlang/tests.py::test_benchmark_natlang[Winter 1872-1872-24]
8531.993371124214
iter/sec (stddev: 0.0000066463839587187185
)9424.857320878093
iter/sec (stddev: 0.0000058642857514609236
)1.10
edtf/natlang/tests.py::test_benchmark_natlang[before approx January 18 1928-/1928-01-18~]
5691.669833937218
iter/sec (stddev: 0.000006984496120375181
)6077.713959723717
iter/sec (stddev: 0.000006937932015900124
)1.07
edtf/natlang/tests.py::test_benchmark_natlang[birthday in 1872-1872]
7252.879987386495
iter/sec (stddev: 0.00001657618125870849
)8213.645609693585
iter/sec (stddev: 0.0000064998136694677345
)1.13
edtf/natlang/tests.py::test_benchmark_natlang[1270 CE-1270]
50653.86389440689
iter/sec (stddev: 0.0000011152606591618344
)51452.332000218776
iter/sec (stddev: 0.0000014305935571446778
)1.02
edtf/natlang/tests.py::test_benchmark_natlang[2nd century bce--01XX]
44763.72795136897
iter/sec (stddev: 0.0000013043977803572041
)45922.4966193415
iter/sec (stddev: 0.0000015788419936961112
)1.03
edtf/natlang/tests.py::test_benchmark_natlang[1858/1860-[1858, 1860]]
22703.702107256147
iter/sec (stddev: 0.0000028659089261372303
)24937.94683976795
iter/sec (stddev: 0.0000030011544247201534
)1.10
edtf/parser/tests.py::test_benchmark_parser[2001-02-03]
125.31480009177066
iter/sec (stddev: 0.000583768564734624
)165.36847658209376
iter/sec (stddev: 0.00038541761067305324
)1.32
edtf/parser/tests.py::test_benchmark_parser[2008-12]
132.14243996328395
iter/sec (stddev: 0.0016059737083343073
)169.41717431307598
iter/sec (stddev: 0.002010022722081676
)1.28
edtf/parser/tests.py::test_benchmark_parser[2008]
159.2495633459142
iter/sec (stddev: 0.002014305525718852
)210.6033384312808
iter/sec (stddev: 0.0012366861130870522
)1.32
edtf/parser/tests.py::test_benchmark_parser[-0999]
163.34214355772326
iter/sec (stddev: 0.0016528368454771514
)202.47874479380712
iter/sec (stddev: 0.0018942275022620898
)1.24
edtf/parser/tests.py::test_benchmark_parser[2004-01-01T10:10:10+05:00]
111.04722654651461
iter/sec (stddev: 0.0019616365981145393
)147.00507524179153
iter/sec (stddev: 0.0018282458353072648
)1.32
edtf/parser/tests.py::test_benchmark_parser[-2005/-1999-02]
89.57090155140065
iter/sec (stddev: 0.0019311473948054158
)125.91576445493938
iter/sec (stddev: 0.0017271233420462812
)1.41
edtf/parser/tests.py::test_benchmark_parser[/2006]
204.11067176192637
iter/sec (stddev: 0.0010662401236431378
)337.34774453386945
iter/sec (stddev: 0.00013720999161622756
)1.65
edtf/parser/tests.py::test_benchmark_parser[?2004-%06]
171.93176127283851
iter/sec (stddev: 0.00023012912768933047
)226.95544995852498
iter/sec (stddev: 0.0011509342010363613
)1.32
edtf/parser/tests.py::test_benchmark_parser[[1667, 1760-12]]
17.83109549784465
iter/sec (stddev: 0.004266520247171723
)32.429203557428934
iter/sec (stddev: 0.003395677909733358
)1.82
edtf/parser/tests.py::test_benchmark_parser[Y3388E2S3]
341.27847183684713
iter/sec (stddev: 0.00010151926671948867
)457.37605744003304
iter/sec (stddev: 0.00007655377782067135
)1.34
edtf/parser/tests.py::test_benchmark_parser[2001-29]
94.6344677750013
iter/sec (stddev: 0.0020684961804681577
)122.30268409990637
iter/sec (stddev: 0.002483795001362941
)1.29
This comment was automatically generated by workflow using github-action-benchmark.
d779dea
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
edtf/natlang/tests.py::test_benchmark_natlang[23rd Dynasty-None]
80010.82057818951
iter/sec (stddev: 0.000001852545251907599
)86935.54190741367
iter/sec (stddev: 8.801351312055946e-7
)1.09
edtf/natlang/tests.py::test_benchmark_natlang[January 2008-2008-01]
8084.8068481477785
iter/sec (stddev: 0.000030349699900587895
)8871.250916535719
iter/sec (stddev: 0.000006170533054955764
)1.10
edtf/natlang/tests.py::test_benchmark_natlang[ca1860-1860~]
10709.034003263638
iter/sec (stddev: 0.000006845186086995401
)11292.512453597992
iter/sec (stddev: 0.000006285789742846082
)1.05
edtf/natlang/tests.py::test_benchmark_natlang[uncertain: approx 1862-1862%]
7088.951914508556
iter/sec (stddev: 0.0000055900965671259004
)7549.978591732842
iter/sec (stddev: 0.000005876983775780713
)1.07
edtf/natlang/tests.py::test_benchmark_natlang[January-XXXX-01]
11985.163264525669
iter/sec (stddev: 0.000019120783515650353
)12936.725208274147
iter/sec (stddev: 0.000012666981444328682
)1.08
edtf/natlang/tests.py::test_benchmark_natlang[Winter 1872-1872-24]
8747.241558395557
iter/sec (stddev: 0.000014586828969524309
)9424.857320878093
iter/sec (stddev: 0.0000058642857514609236
)1.08
edtf/natlang/tests.py::test_benchmark_natlang[before approx January 18 1928-/1928-01-18~]
5581.634439332814
iter/sec (stddev: 0.000017471578781529484
)6077.713959723717
iter/sec (stddev: 0.000006937932015900124
)1.09
edtf/natlang/tests.py::test_benchmark_natlang[birthday in 1872-1872]
7580.051738664867
iter/sec (stddev: 0.000009542788131120004
)8213.645609693585
iter/sec (stddev: 0.0000064998136694677345
)1.08
edtf/natlang/tests.py::test_benchmark_natlang[1270 CE-1270]
51137.34550580195
iter/sec (stddev: 0.0000019749523810492436
)51452.332000218776
iter/sec (stddev: 0.0000014305935571446778
)1.01
edtf/natlang/tests.py::test_benchmark_natlang[2nd century bce--01XX]
43507.15940502727
iter/sec (stddev: 0.0000033239747561749536
)45922.4966193415
iter/sec (stddev: 0.0000015788419936961112
)1.06
edtf/natlang/tests.py::test_benchmark_natlang[1858/1860-[1858, 1860]]
24651.13509176513
iter/sec (stddev: 0.0000031575008238663923
)24937.94683976795
iter/sec (stddev: 0.0000030011544247201534
)1.01
edtf/parser/tests.py::test_benchmark_parser[2001-02-03]
162.12207607046724
iter/sec (stddev: 0.000412908550996007
)165.36847658209376
iter/sec (stddev: 0.00038541761067305324
)1.02
edtf/parser/tests.py::test_benchmark_parser[2008-12]
168.93918927928488
iter/sec (stddev: 0.0016491563422614311
)169.41717431307598
iter/sec (stddev: 0.002010022722081676
)1.00
edtf/parser/tests.py::test_benchmark_parser[2008]
203.0759593372801
iter/sec (stddev: 0.0015908104154013566
)210.6033384312808
iter/sec (stddev: 0.0012366861130870522
)1.04
edtf/parser/tests.py::test_benchmark_parser[-0999]
200.59535247021878
iter/sec (stddev: 0.0015551915941360215
)202.47874479380712
iter/sec (stddev: 0.0018942275022620898
)1.01
edtf/parser/tests.py::test_benchmark_parser[2004-01-01T10:10:10+05:00]
144.03995766930578
iter/sec (stddev: 0.0016567787722809866
)147.00507524179153
iter/sec (stddev: 0.0018282458353072648
)1.02
edtf/parser/tests.py::test_benchmark_parser[-2005/-1999-02]
124.80842345376387
iter/sec (stddev: 0.00017042468152964519
)125.91576445493938
iter/sec (stddev: 0.0017271233420462812
)1.01
edtf/parser/tests.py::test_benchmark_parser[/2006]
325.04132629597086
iter/sec (stddev: 0.0008847208643065698
)337.34774453386945
iter/sec (stddev: 0.00013720999161622756
)1.04
edtf/parser/tests.py::test_benchmark_parser[?2004-%06]
223.23079218713698
iter/sec (stddev: 0.0011438808260475265
)226.95544995852498
iter/sec (stddev: 0.0011509342010363613
)1.02
edtf/parser/tests.py::test_benchmark_parser[[1667, 1760-12]]
32.773017088519445
iter/sec (stddev: 0.000672994046300672
)32.429203557428934
iter/sec (stddev: 0.003395677909733358
)0.99
edtf/parser/tests.py::test_benchmark_parser[Y3388E2S3]
442.81560288292786
iter/sec (stddev: 0.00006599285547089867
)457.37605744003304
iter/sec (stddev: 0.00007655377782067135
)1.03
edtf/parser/tests.py::test_benchmark_parser[2001-29]
119.93274768246496
iter/sec (stddev: 0.0023126477564336585
)122.30268409990637
iter/sec (stddev: 0.002483795001362941
)1.02
This comment was automatically generated by workflow using github-action-benchmark.
d779dea
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
edtf/natlang/tests.py::test_benchmark_natlang[23rd Dynasty-None]
86556.75449393514
iter/sec (stddev: 0.0000019784953189788867
)86935.54190741367
iter/sec (stddev: 8.801351312055946e-7
)1.00
edtf/natlang/tests.py::test_benchmark_natlang[January 2008-2008-01]
8670.096986621742
iter/sec (stddev: 0.00001761219031452322
)8871.250916535719
iter/sec (stddev: 0.000006170533054955764
)1.02
edtf/natlang/tests.py::test_benchmark_natlang[ca1860-1860~]
11266.624552402978
iter/sec (stddev: 0.00000831898441910508
)11292.512453597992
iter/sec (stddev: 0.000006285789742846082
)1.00
edtf/natlang/tests.py::test_benchmark_natlang[uncertain: approx 1862-1862%]
7503.175442389738
iter/sec (stddev: 0.000007677405071129311
)7549.978591732842
iter/sec (stddev: 0.000005876983775780713
)1.01
edtf/natlang/tests.py::test_benchmark_natlang[January-XXXX-01]
12996.145773778564
iter/sec (stddev: 0.000005253516920446241
)12936.725208274147
iter/sec (stddev: 0.000012666981444328682
)1.00
edtf/natlang/tests.py::test_benchmark_natlang[Winter 1872-1872-24]
9353.06503408347
iter/sec (stddev: 0.000005846476547500055
)9424.857320878093
iter/sec (stddev: 0.0000058642857514609236
)1.01
edtf/natlang/tests.py::test_benchmark_natlang[before approx January 18 1928-/1928-01-18~]
6012.844173366893
iter/sec (stddev: 0.000007470707801391458
)6077.713959723717
iter/sec (stddev: 0.000006937932015900124
)1.01
edtf/natlang/tests.py::test_benchmark_natlang[birthday in 1872-1872]
8099.935487454162
iter/sec (stddev: 0.0000063936461357170806
)8213.645609693585
iter/sec (stddev: 0.0000064998136694677345
)1.01
edtf/natlang/tests.py::test_benchmark_natlang[1270 CE-1270]
52982.61293827539
iter/sec (stddev: 0.0000014073694334867505
)51452.332000218776
iter/sec (stddev: 0.0000014305935571446778
)0.97
edtf/natlang/tests.py::test_benchmark_natlang[2nd century bce--01XX]
46289.4941363723
iter/sec (stddev: 0.0000016567722790671474
)45922.4966193415
iter/sec (stddev: 0.0000015788419936961112
)0.99
edtf/natlang/tests.py::test_benchmark_natlang[1858/1860-[1858, 1860]]
25238.40642759065
iter/sec (stddev: 0.000003589463738838075
)24937.94683976795
iter/sec (stddev: 0.0000030011544247201534
)0.99
edtf/parser/tests.py::test_benchmark_parser[2001-02-03]
159.65659847042832
iter/sec (stddev: 0.0004835673468739362
)165.36847658209376
iter/sec (stddev: 0.00038541761067305324
)1.04
edtf/parser/tests.py::test_benchmark_parser[2008-12]
157.98601433201807
iter/sec (stddev: 0.0028104129697043897
)169.41717431307598
iter/sec (stddev: 0.002010022722081676
)1.07
edtf/parser/tests.py::test_benchmark_parser[2008]
200.45762238933855
iter/sec (stddev: 0.0016761999023262454
)210.6033384312808
iter/sec (stddev: 0.0012366861130870522
)1.05
edtf/parser/tests.py::test_benchmark_parser[-0999]
191.6049279901953
iter/sec (stddev: 0.0023977207499726707
)202.47874479380712
iter/sec (stddev: 0.0018942275022620898
)1.06
edtf/parser/tests.py::test_benchmark_parser[2004-01-01T10:10:10+05:00]
137.084600300301
iter/sec (stddev: 0.0029256446325601716
)147.00507524179153
iter/sec (stddev: 0.0018282458353072648
)1.07
edtf/parser/tests.py::test_benchmark_parser[-2005/-1999-02]
118.8121062374945
iter/sec (stddev: 0.00225926067242271
)125.91576445493938
iter/sec (stddev: 0.0017271233420462812
)1.06
edtf/parser/tests.py::test_benchmark_parser[/2006]
326.30357424829464
iter/sec (stddev: 0.00014782593818195
)337.34774453386945
iter/sec (stddev: 0.00013720999161622756
)1.03
edtf/parser/tests.py::test_benchmark_parser[?2004-%06]
214.80153087774667
iter/sec (stddev: 0.0016951267623196156
)226.95544995852498
iter/sec (stddev: 0.0011509342010363613
)1.06
edtf/parser/tests.py::test_benchmark_parser[[1667, 1760-12]]
31.14927207568051
iter/sec (stddev: 0.004585274256172595
)32.429203557428934
iter/sec (stddev: 0.003395677909733358
)1.04
edtf/parser/tests.py::test_benchmark_parser[Y3388E2S3]
448.97394846317405
iter/sec (stddev: 0.00011295371945595824
)457.37605744003304
iter/sec (stddev: 0.00007655377782067135
)1.02
edtf/parser/tests.py::test_benchmark_parser[2001-29]
114.15481178211515
iter/sec (stddev: 0.00266252918856045
)122.30268409990637
iter/sec (stddev: 0.002483795001362941
)1.07
This comment was automatically generated by workflow using github-action-benchmark.
d779dea
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
edtf/natlang/tests.py::test_benchmark_natlang[23rd Dynasty-None]
81414.82700989813
iter/sec (stddev: 8.103109607304797e-7
)86935.54190741367
iter/sec (stddev: 8.801351312055946e-7
)1.07
edtf/natlang/tests.py::test_benchmark_natlang[January 2008-2008-01]
8554.458432034517
iter/sec (stddev: 0.000005499672218626371
)8871.250916535719
iter/sec (stddev: 0.000006170533054955764
)1.04
edtf/natlang/tests.py::test_benchmark_natlang[ca1860-1860~]
10338.807117492768
iter/sec (stddev: 0.000022415883723524668
)11292.512453597992
iter/sec (stddev: 0.000006285789742846082
)1.09
edtf/natlang/tests.py::test_benchmark_natlang[uncertain: approx 1862-1862%]
7032.795202965987
iter/sec (stddev: 0.000006230951100412437
)7549.978591732842
iter/sec (stddev: 0.000005876983775780713
)1.07
edtf/natlang/tests.py::test_benchmark_natlang[January-XXXX-01]
12289.396641312786
iter/sec (stddev: 0.000020491057286703536
)12936.725208274147
iter/sec (stddev: 0.000012666981444328682
)1.05
edtf/natlang/tests.py::test_benchmark_natlang[Winter 1872-1872-24]
8500.439216176936
iter/sec (stddev: 0.00003119773177772948
)9424.857320878093
iter/sec (stddev: 0.0000058642857514609236
)1.11
edtf/natlang/tests.py::test_benchmark_natlang[before approx January 18 1928-/1928-01-18~]
5570.911177617347
iter/sec (stddev: 0.00000731883646189396
)6077.713959723717
iter/sec (stddev: 0.000006937932015900124
)1.09
edtf/natlang/tests.py::test_benchmark_natlang[birthday in 1872-1872]
7329.709567617568
iter/sec (stddev: 0.000027945273256771032
)8213.645609693585
iter/sec (stddev: 0.0000064998136694677345
)1.12
edtf/natlang/tests.py::test_benchmark_natlang[1270 CE-1270]
48818.552947007745
iter/sec (stddev: 0.0000012119443427279483
)51452.332000218776
iter/sec (stddev: 0.0000014305935571446778
)1.05
edtf/natlang/tests.py::test_benchmark_natlang[2nd century bce--01XX]
42646.61017902271
iter/sec (stddev: 0.00000117240851596917
)45922.4966193415
iter/sec (stddev: 0.0000015788419936961112
)1.08
edtf/natlang/tests.py::test_benchmark_natlang[1858/1860-[1858, 1860]]
23873.597133254403
iter/sec (stddev: 0.000007205466375283395
)24937.94683976795
iter/sec (stddev: 0.0000030011544247201534
)1.04
edtf/parser/tests.py::test_benchmark_parser[2001-02-03]
158.08928055986613
iter/sec (stddev: 0.0005150374919036013
)165.36847658209376
iter/sec (stddev: 0.00038541761067305324
)1.05
edtf/parser/tests.py::test_benchmark_parser[2008-12]
163.2689719866068
iter/sec (stddev: 0.0018574084470516557
)169.41717431307598
iter/sec (stddev: 0.002010022722081676
)1.04
edtf/parser/tests.py::test_benchmark_parser[2008]
196.12854990835632
iter/sec (stddev: 0.0017572996359509884
)210.6033384312808
iter/sec (stddev: 0.0012366861130870522
)1.07
edtf/parser/tests.py::test_benchmark_parser[-0999]
194.55409494439965
iter/sec (stddev: 0.0013875683883445757
)202.47874479380712
iter/sec (stddev: 0.0018942275022620898
)1.04
edtf/parser/tests.py::test_benchmark_parser[2004-01-01T10:10:10+05:00]
141.30566467408556
iter/sec (stddev: 0.0015323208921021218
)147.00507524179153
iter/sec (stddev: 0.0018282458353072648
)1.04
edtf/parser/tests.py::test_benchmark_parser[-2005/-1999-02]
120.80407345423382
iter/sec (stddev: 0.0016256619369747578
)125.91576445493938
iter/sec (stddev: 0.0017271233420462812
)1.04
edtf/parser/tests.py::test_benchmark_parser[/2006]
313.34489802390414
iter/sec (stddev: 0.0009622773006893344
)337.34774453386945
iter/sec (stddev: 0.00013720999161622756
)1.08
edtf/parser/tests.py::test_benchmark_parser[?2004-%06]
217.49964361885702
iter/sec (stddev: 0.0009633707465953877
)226.95544995852498
iter/sec (stddev: 0.0011509342010363613
)1.04
edtf/parser/tests.py::test_benchmark_parser[[1667, 1760-12]]
31.33642617929424
iter/sec (stddev: 0.0016357799189671111
)32.429203557428934
iter/sec (stddev: 0.003395677909733358
)1.03
edtf/parser/tests.py::test_benchmark_parser[Y3388E2S3]
430.8339383813955
iter/sec (stddev: 0.00006404420882109838
)457.37605744003304
iter/sec (stddev: 0.00007655377782067135
)1.06
edtf/parser/tests.py::test_benchmark_parser[2001-29]
117.84013327049315
iter/sec (stddev: 0.0018799161584027641
)122.30268409990637
iter/sec (stddev: 0.002483795001362941
)1.04
This comment was automatically generated by workflow using github-action-benchmark.