Skip to content
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
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

Benchmarks #1

wants to merge 15 commits into from

Conversation

ahankinson
Copy link

No description provided.

ahankinson and others added 15 commits April 13, 2021 18:52
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
Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/edtf
   __init__.py40100% 
   appsettings.py28485%10–13
   convert.py634430%11–19, 21, 38–39, 51, 60, 71–73, 102, 105–107, 111, 115, 134–153, 155
   fields.py1192281%70, 84, 89, 91, 94–95, 97–98, 100, 105, 109–112, 135–136, 157, 167–168, 172–173, 181
   jdutil.py986632%37, 55, 91–92, 105, 152, 154–155, 157, 159, 161, 163, 165, 167, 169, 171, 173, 175, 251–252, 254–255, 257–258, 260, 262, 287, 291, 314, 316–317, 319, 321, 346, 348, 350, 370–372, 374, 376, 378, 381–383, 385, 387, 389, 392–393, 395, 397, 399–400, 402, 405–407, 410–413, 415, 417, 424, 431
   tests.py71710%3–4, 6, 9–13, 16–21, 24–25, 28–29, 32–37, 40–44, 52–53, 56–62, 65–71, 74–79, 82–85, 88–91, 94–97, 100–107
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/edtf/natlang
   __init__.py20100% 
   en.py1606956%62, 72–73, 75, 77–79, 84, 87, 90–91, 94–95, 97–101, 103–104, 106–108, 116–118, 120–124, 130, 132, 147, 153, 176–178, 180–184, 187–189, 191–195, 218–221, 225, 240, 242–243, 245, 262, 264, 272, 274, 276, 278, 283, 286, 292
   tests.py10100%3, 5, 10, 179, 184–185, 190–191, 207, 211
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/edtf/parser
   __init__.py40100% 
   edtf_exceptions.py151126%13–19, 22–24, 29
   grammar.py1281191%148–151, 350, 355–360
   parser_classes.py65135944%70, 72, 79–82, 84–85, 87–88, 111–113, 117, 120, 123, 182, 184, 191, 193, 199–203, 208–214, 221–225, 230–236, 246–248, 251, 256–258, 261, 282, 293, 307, 311, 323–325, 330, 338–340, 343, 358–359, 363, 392–396, 399, 404–405, 408, 411, 414, 417–421, 424–428, 448–450, 474, 478, 483, 485, 504, 511, 527, 536–538, 540–542, 545–546, 548, 551–554, 556, 558–560, 562, 566, 579, 586–589, 592, 595–598, 601–604, 606–610, 613–614, 617, 621, 627–628, 631, 634–635, 638, 642–643, 646–647, 650, 656, 661–662, 668, 670, 673–675, 681, 686–687, 690, 696, 698, 702–716, 721–723, 727, 729, 732–734, 738, 740, 743–745, 751–754, 759–760, 765–766, 768, 771, 774–776, 778, 781, 784–787, 789–795, 802–805, 807–813, 822–823, 826, 829, 832–834, 836, 844, 863–865, 867–870, 872–873, 875–876, 878, 880, 889, 892, 895, 902–903, 905–906, 908, 910, 912–913, 915, 917–922, 924, 926, 928–929, 931, 934, 939–941, 944–946, 949–951, 959, 961–962, 965–966, 969–970, 973–974, 976–977, 981, 985–986, 989, 994–995, 999–1000, 1002–1010, 1012, 1022–1023, 1025, 1027–1028, 1030, 1033, 1038, 1043, 1048, 1052–1053, 1056, 1059, 1061–1063, 1065, 1070–1071, 1073, 1081, 1085–1086, 1089, 1092–1094, 1103–1104, 1106, 1108–1109, 1111–1114, 1126–1128, 1133, 1136–1137, 1139, 1144
   tests.py89890%3–4, 6, 8–10, 26, 229, 243, 262, 284, 286–289, 291–293, 295–299, 302–303, 305–306, 309–311, 314–315, 318–321, 324, 327–331, 334, 337, 340, 343–348, 351, 354, 357, 362–363, 365–366, 369–370, 372–374, 377, 379–384, 386–393, 396–398, 400, 403–404, 410–414
edtf
   __init__.py40100% 
   appsettings.py28292%12–13
   convert.py631182%11–19, 21, 72
   fields.py1191190%1, 3–8, 10–13, 15, 23, 29, 31, 33–35, 38–39, 51–58, 60, 63, 65–70, 72–76, 78–79, 81, 83–84, 86, 88–89, 91, 93–95, 97–98, 100, 102–105, 107, 109–112, 114, 123–125, 128, 131–132, 135–136, 139–140, 142–144, 147, 151, 153, 155, 157, 160–173, 179, 181–182, 184–185, 190–191, 193–194, 196, 204, 206, 208–209, 212–213, 223–226, 234
   jdutil.py984455%37, 55, 91–92, 287, 291, 314, 316–317, 319, 321, 346, 348, 350, 370–372, 374, 376, 378, 381–383, 385, 387, 389, 392–393, 395, 397, 399–400, 402, 405–407, 410–413, 415, 417, 424, 431
   tests.py710100% 
edtf/natlang
   __init__.py20100% 
   en.py1601193%87, 90, 147, 183–184, 194–195, 220–221, 225, 292
   tests.py10190%211
edtf/parser
   __init__.py40100% 
   edtf_exceptions.py15286%24, 29
   grammar.py128298%357, 359
   parser_classes.py65110783%111–113, 120, 123, 184, 190–194, 201–203, 210–214, 223–225, 230–236, 246–248, 251, 256–258, 261, 282, 358–359, 392–396, 399, 414, 417–421, 424–428, 448–450, 566, 602, 610, 614, 661–662, 668, 686–687, 690, 696, 703, 705, 709, 716, 781, 787, 791, 805, 809, 844, 903, 921–922, 924, 929, 940, 945, 950, 986, 989, 995, 1000, 1002–1010, 1025, 1030, 1106, 1111, 1144
   tests.py89198%400
TOTAL2884105663% 

Tests Skipped Failures Errors Time
279 0 💤 0 ❌ 0 🔥 4.248s ⏱️

Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/edtf
   __init__.py40100% 
   appsettings.py28485%10–13
   convert.py634430%11–19, 21, 38–39, 51, 60, 71–73, 102, 105–107, 111, 115, 134–153, 155
   fields.py1192281%70, 84, 89, 91, 94–95, 97–98, 100, 105, 109–112, 135–136, 157, 167–168, 172–173, 181
   jdutil.py986632%37, 55, 91–92, 105, 152, 154–155, 157, 159, 161, 163, 165, 167, 169, 171, 173, 175, 251–252, 254–255, 257–258, 260, 262, 287, 291, 314, 316–317, 319, 321, 346, 348, 350, 370–372, 374, 376, 378, 381–383, 385, 387, 389, 392–393, 395, 397, 399–400, 402, 405–407, 410–413, 415, 417, 424, 431
   tests.py71710%3–4, 6, 9–13, 16–21, 24–25, 28–29, 32–37, 40–44, 52–53, 56–62, 65–71, 74–79, 82–85, 88–91, 94–97, 100–107
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/edtf/natlang
   __init__.py20100% 
   en.py1606956%62, 72–73, 75, 77–79, 84, 87, 90–91, 94–95, 97–101, 103–104, 106–108, 116–118, 120–124, 130, 132, 147, 153, 176–178, 180–184, 187–189, 191–195, 218–221, 225, 240, 242–243, 245, 262, 264, 272, 274, 276, 278, 283, 286, 292
   tests.py10100%3, 5, 10, 179, 184–185, 190–191, 207, 211
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/edtf/parser
   __init__.py40100% 
   edtf_exceptions.py151126%13–19, 22–24, 29
   grammar.py1281191%148–151, 350, 355–360
   parser_classes.py65135944%70, 72, 79–82, 84–85, 87–88, 111–113, 117, 120, 123, 182, 184, 191, 193, 199–203, 208–214, 221–225, 230–236, 246–248, 251, 256–258, 261, 282, 293, 307, 311, 323–325, 330, 338–340, 343, 358–359, 363, 392–396, 399, 404–405, 408, 411, 414, 417–421, 424–428, 448–450, 474, 478, 483, 485, 504, 511, 527, 536–538, 540–542, 545–546, 548, 551–554, 556, 558–560, 562, 566, 579, 586–589, 592, 595–598, 601–604, 606–610, 613–614, 617, 621, 627–628, 631, 634–635, 638, 642–643, 646–647, 650, 656, 661–662, 668, 670, 673–675, 681, 686–687, 690, 696, 698, 702–716, 721–723, 727, 729, 732–734, 738, 740, 743–745, 751–754, 759–760, 765–766, 768, 771, 774–776, 778, 781, 784–787, 789–795, 802–805, 807–813, 822–823, 826, 829, 832–834, 836, 844, 863–865, 867–870, 872–873, 875–876, 878, 880, 889, 892, 895, 902–903, 905–906, 908, 910, 912–913, 915, 917–922, 924, 926, 928–929, 931, 934, 939–941, 944–946, 949–951, 959, 961–962, 965–966, 969–970, 973–974, 976–977, 981, 985–986, 989, 994–995, 999–1000, 1002–1010, 1012, 1022–1023, 1025, 1027–1028, 1030, 1033, 1038, 1043, 1048, 1052–1053, 1056, 1059, 1061–1063, 1065, 1070–1071, 1073, 1081, 1085–1086, 1089, 1092–1094, 1103–1104, 1106, 1108–1109, 1111–1114, 1126–1128, 1133, 1136–1137, 1139, 1144
   tests.py89890%3–4, 6, 8–10, 26, 229, 243, 262, 284, 286–289, 291–293, 295–299, 302–303, 305–306, 309–311, 314–315, 318–321, 324, 327–331, 334, 337, 340, 343–348, 351, 354, 357, 362–363, 365–366, 369–370, 372–374, 377, 379–384, 386–393, 396–398, 400, 403–404, 410–414
edtf
   __init__.py40100% 
   appsettings.py28292%12–13
   convert.py631182%11–19, 21, 72
   fields.py1191190%1, 3–8, 10–13, 15, 23, 29, 31, 33–35, 38–39, 51–58, 60, 63, 65–70, 72–76, 78–79, 81, 83–84, 86, 88–89, 91, 93–95, 97–98, 100, 102–105, 107, 109–112, 114, 123–125, 128, 131–132, 135–136, 139–140, 142–144, 147, 151, 153, 155, 157, 160–173, 179, 181–182, 184–185, 190–191, 193–194, 196, 204, 206, 208–209, 212–213, 223–226, 234
   jdutil.py984455%37, 55, 91–92, 287, 291, 314, 316–317, 319, 321, 346, 348, 350, 370–372, 374, 376, 378, 381–383, 385, 387, 389, 392–393, 395, 397, 399–400, 402, 405–407, 410–413, 415, 417, 424, 431
   tests.py710100% 
edtf/natlang
   __init__.py20100% 
   en.py1601193%87, 90, 147, 183–184, 194–195, 220–221, 225, 292
   tests.py10190%211
edtf/parser
   __init__.py40100% 
   edtf_exceptions.py15286%24, 29
   grammar.py128298%357, 359
   parser_classes.py65110783%111–113, 120, 123, 184, 190–194, 201–203, 210–214, 223–225, 230–236, 246–248, 251, 256–258, 261, 282, 358–359, 392–396, 399, 414, 417–421, 424–428, 448–450, 566, 602, 610, 614, 661–662, 668, 686–687, 690, 696, 703, 705, 709, 716, 781, 787, 791, 805, 809, 844, 903, 921–922, 924, 929, 940, 945, 950, 986, 989, 995, 1000, 1002–1010, 1025, 1030, 1106, 1111, 1144
   tests.py89198%400
TOTAL2884105663% 

Tests Skipped Failures Errors Time
279 0 💤 0 ❌ 0 🔥 4.266s ⏱️

Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/edtf
   __init__.py40100% 
   appsettings.py28485%10–13
   convert.py634430%11–19, 21, 38–39, 51, 60, 71–73, 102, 105–107, 111, 115, 134–153, 155
   fields.py1192281%70, 84, 89, 91, 94–95, 97–98, 100, 105, 109–112, 135–136, 157, 167–168, 172–173, 181
   jdutil.py986632%37, 55, 91–92, 105, 152, 154–155, 157, 159, 161, 163, 165, 167, 169, 171, 173, 175, 251–252, 254–255, 257–258, 260, 262, 287, 291, 314, 316–317, 319, 321, 346, 348, 350, 370–372, 374, 376, 378, 381–383, 385, 387, 389, 392–393, 395, 397, 399–400, 402, 405–407, 410–413, 415, 417, 424, 431
   tests.py71710%3–4, 6, 9–13, 16–21, 24–25, 28–29, 32–37, 40–44, 52–53, 56–62, 65–71, 74–79, 82–85, 88–91, 94–97, 100–107
/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/edtf/natlang
   __init__.py20100% 
   en.py1606956%62, 72–73, 75, 77–79, 84, 87, 90–91, 94–95, 97–101, 103–104, 106–108, 116–118, 120–124, 130, 132, 147, 153, 176–178, 180–184, 187–189, 191–195, 218–221, 225, 240, 242–243, 245, 262, 264, 272, 274, 276, 278, 283, 286, 292
   tests.py10100%3, 5, 10, 179, 184–185, 190–191, 207, 211
/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/edtf/parser
   __init__.py40100% 
   edtf_exceptions.py151126%13–19, 22–24, 29
   grammar.py1281191%148–151, 350, 355–360
   parser_classes.py65135944%70, 72, 79–82, 84–85, 87–88, 111–113, 117, 120, 123, 182, 184, 191, 193, 199–203, 208–214, 221–225, 230–236, 246–248, 251, 256–258, 261, 282, 293, 307, 311, 323–325, 330, 338–340, 343, 358–359, 363, 392–396, 399, 404–405, 408, 411, 414, 417–421, 424–428, 448–450, 474, 478, 483, 485, 504, 511, 527, 536–538, 540–542, 545–546, 548, 551–554, 556, 558–560, 562, 566, 579, 586–589, 592, 595–598, 601–604, 606–610, 613–614, 617, 621, 627–628, 631, 634–635, 638, 642–643, 646–647, 650, 656, 661–662, 668, 670, 673–675, 681, 686–687, 690, 696, 698, 702–716, 721–723, 727, 729, 732–734, 738, 740, 743–745, 751–754, 759–760, 765–766, 768, 771, 774–776, 778, 781, 784–787, 789–795, 802–805, 807–813, 822–823, 826, 829, 832–834, 836, 844, 863–865, 867–870, 872–873, 875–876, 878, 880, 889, 892, 895, 902–903, 905–906, 908, 910, 912–913, 915, 917–922, 924, 926, 928–929, 931, 934, 939–941, 944–946, 949–951, 959, 961–962, 965–966, 969–970, 973–974, 976–977, 981, 985–986, 989, 994–995, 999–1000, 1002–1010, 1012, 1022–1023, 1025, 1027–1028, 1030, 1033, 1038, 1043, 1048, 1052–1053, 1056, 1059, 1061–1063, 1065, 1070–1071, 1073, 1081, 1085–1086, 1089, 1092–1094, 1103–1104, 1106, 1108–1109, 1111–1114, 1126–1128, 1133, 1136–1137, 1139, 1144
   tests.py89890%3–4, 6, 8–10, 26, 229, 243, 262, 284, 286–289, 291–293, 295–299, 302–303, 305–306, 309–311, 314–315, 318–321, 324, 327–331, 334, 337, 340, 343–348, 351, 354, 357, 362–363, 365–366, 369–370, 372–374, 377, 379–384, 386–393, 396–398, 400, 403–404, 410–414
edtf
   __init__.py40100% 
   appsettings.py28292%12–13
   convert.py631182%11–19, 21, 72
   fields.py1191190%1, 3–8, 10–13, 15, 23, 29, 31, 33–35, 38–39, 51–58, 60, 63, 65–70, 72–76, 78–79, 81, 83–84, 86, 88–89, 91, 93–95, 97–98, 100, 102–105, 107, 109–112, 114, 123–125, 128, 131–132, 135–136, 139–140, 142–144, 147, 151, 153, 155, 157, 160–173, 179, 181–182, 184–185, 190–191, 193–194, 196, 204, 206, 208–209, 212–213, 223–226, 234
   jdutil.py984455%37, 55, 91–92, 287, 291, 314, 316–317, 319, 321, 346, 348, 350, 370–372, 374, 376, 378, 381–383, 385, 387, 389, 392–393, 395, 397, 399–400, 402, 405–407, 410–413, 415, 417, 424, 431
   tests.py710100% 
edtf/natlang
   __init__.py20100% 
   en.py1601193%87, 90, 147, 183–184, 194–195, 220–221, 225, 292
   tests.py10190%211
edtf/parser
   __init__.py40100% 
   edtf_exceptions.py15286%24, 29
   grammar.py128298%357, 359
   parser_classes.py65110783%111–113, 120, 123, 184, 190–194, 201–203, 210–214, 223–225, 230–236, 246–248, 251, 256–258, 261, 282, 358–359, 392–396, 399, 414, 417–421, 424–428, 448–450, 566, 602, 610, 614, 661–662, 668, 686–687, 690, 696, 703, 705, 709, 716, 781, 787, 791, 805, 809, 844, 903, 921–922, 924, 929, 940, 945, 950, 986, 989, 995, 1000, 1002–1010, 1025, 1030, 1106, 1111, 1144
   tests.py89198%400
TOTAL2884105663% 

Tests Skipped Failures Errors Time
279 0 💤 0 ❌ 0 🔥 4.554s ⏱️

Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/edtf
   __init__.py40100% 
   appsettings.py28485%10–13
   convert.py634430%11–19, 21, 38–39, 51, 60, 71–73, 102, 105–107, 111, 115, 134–153, 155
   fields.py1192281%70, 84, 89, 91, 94–95, 97–98, 100, 105, 109–112, 135–136, 157, 167–168, 172–173, 181
   jdutil.py986632%37, 55, 91–92, 105, 152, 154–155, 157, 159, 161, 163, 165, 167, 169, 171, 173, 175, 251–252, 254–255, 257–258, 260, 262, 287, 291, 314, 316–317, 319, 321, 346, 348, 350, 370–372, 374, 376, 378, 381–383, 385, 387, 389, 392–393, 395, 397, 399–400, 402, 405–407, 410–413, 415, 417, 424, 431
   tests.py71710%3–4, 6, 9–13, 16–21, 24–25, 28–29, 32–37, 40–44, 52–53, 56–62, 65–71, 74–79, 82–85, 88–91, 94–97, 100–107
/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/edtf/natlang
   __init__.py20100% 
   en.py1606956%62, 72–73, 75, 77–79, 84, 87, 90–91, 94–95, 97–101, 103–104, 106–108, 116–118, 120–124, 130, 132, 147, 153, 176–178, 180–184, 187–189, 191–195, 218–221, 225, 240, 242–243, 245, 262, 264, 272, 274, 276, 278, 283, 286, 292
   tests.py10100%3, 5, 10, 179, 184–185, 190–191, 207, 211
/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/edtf/parser
   __init__.py40100% 
   edtf_exceptions.py151126%13–19, 22–24, 29
   grammar.py1281191%148–151, 350, 355–360
   parser_classes.py65135944%70, 72, 79–82, 84–85, 87–88, 111–113, 117, 120, 123, 182, 184, 191, 193, 199–203, 208–214, 221–225, 230–236, 246–248, 251, 256–258, 261, 282, 293, 307, 311, 323–325, 330, 338–340, 343, 358–359, 363, 392–396, 399, 404–405, 408, 411, 414, 417–421, 424–428, 448–450, 474, 478, 483, 485, 504, 511, 527, 536–538, 540–542, 545–546, 548, 551–554, 556, 558–560, 562, 566, 579, 586–589, 592, 595–598, 601–604, 606–610, 613–614, 617, 621, 627–628, 631, 634–635, 638, 642–643, 646–647, 650, 656, 661–662, 668, 670, 673–675, 681, 686–687, 690, 696, 698, 702–716, 721–723, 727, 729, 732–734, 738, 740, 743–745, 751–754, 759–760, 765–766, 768, 771, 774–776, 778, 781, 784–787, 789–795, 802–805, 807–813, 822–823, 826, 829, 832–834, 836, 844, 863–865, 867–870, 872–873, 875–876, 878, 880, 889, 892, 895, 902–903, 905–906, 908, 910, 912–913, 915, 917–922, 924, 926, 928–929, 931, 934, 939–941, 944–946, 949–951, 959, 961–962, 965–966, 969–970, 973–974, 976–977, 981, 985–986, 989, 994–995, 999–1000, 1002–1010, 1012, 1022–1023, 1025, 1027–1028, 1030, 1033, 1038, 1043, 1048, 1052–1053, 1056, 1059, 1061–1063, 1065, 1070–1071, 1073, 1081, 1085–1086, 1089, 1092–1094, 1103–1104, 1106, 1108–1109, 1111–1114, 1126–1128, 1133, 1136–1137, 1139, 1144
   tests.py89890%3–4, 6, 8–10, 26, 229, 243, 262, 284, 286–289, 291–293, 295–299, 302–303, 305–306, 309–311, 314–315, 318–321, 324, 327–331, 334, 337, 340, 343–348, 351, 354, 357, 362–363, 365–366, 369–370, 372–374, 377, 379–384, 386–393, 396–398, 400, 403–404, 410–414
edtf
   __init__.py40100% 
   appsettings.py28292%12–13
   convert.py631182%11–19, 21, 72
   fields.py1191190%1, 3–8, 10–13, 15, 23, 29, 31, 33–35, 38–39, 51–58, 60, 63, 65–70, 72–76, 78–79, 81, 83–84, 86, 88–89, 91, 93–95, 97–98, 100, 102–105, 107, 109–112, 114, 123–125, 128, 131–132, 135–136, 139–140, 142–144, 147, 151, 153, 155, 157, 160–173, 179, 181–182, 184–185, 190–191, 193–194, 196, 204, 206, 208–209, 212–213, 223–226, 234
   jdutil.py984455%37, 55, 91–92, 287, 291, 314, 316–317, 319, 321, 346, 348, 350, 370–372, 374, 376, 378, 381–383, 385, 387, 389, 392–393, 395, 397, 399–400, 402, 405–407, 410–413, 415, 417, 424, 431
   tests.py710100% 
edtf/natlang
   __init__.py20100% 
   en.py1601193%87, 90, 147, 183–184, 194–195, 220–221, 225, 292
   tests.py10190%211
edtf/parser
   __init__.py40100% 
   edtf_exceptions.py15286%24, 29
   grammar.py128298%357, 359
   parser_classes.py65110783%111–113, 120, 123, 184, 190–194, 201–203, 210–214, 223–225, 230–236, 246–248, 251, 256–258, 261, 282, 358–359, 392–396, 399, 414, 417–421, 424–428, 448–450, 566, 602, 610, 614, 661–662, 668, 686–687, 690, 696, 703, 705, 709, 716, 781, 787, 791, 805, 809, 844, 903, 921–922, 924, 929, 940, 945, 950, 986, 989, 995, 1000, 1002–1010, 1025, 1030, 1106, 1111, 1144
   tests.py89198%400
TOTAL2884105663% 

Tests Skipped Failures Errors Time
279 0 💤 0 ❌ 0 🔥 4.475s ⏱️

Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/edtf
   __init__.py40100% 
   appsettings.py28485%10–13
   convert.py634430%11–19, 21, 38–39, 51, 60, 71–73, 102, 105–107, 111, 115, 134–153, 155
   fields.py1192281%70, 84, 89, 91, 94–95, 97–98, 100, 105, 109–112, 135–136, 157, 167–168, 172–173, 181
   jdutil.py986632%37, 55, 91–92, 105, 152, 154–155, 157, 159, 161, 163, 165, 167, 169, 171, 173, 175, 251–252, 254–255, 257–258, 260, 262, 287, 291, 314, 316–317, 319, 321, 346, 348, 350, 370–372, 374, 376, 378, 381–383, 385, 387, 389, 392–393, 395, 397, 399–400, 402, 405–407, 410–413, 415, 417, 424, 431
   tests.py71710%3–4, 6, 9–13, 16–21, 24–25, 28–29, 32–37, 40–44, 52–53, 56–62, 65–71, 74–79, 82–85, 88–91, 94–97, 100–107
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/edtf/natlang
   __init__.py20100% 
   en.py1606956%62, 72–73, 75, 77–79, 84, 87, 90–91, 94–95, 97–101, 103–104, 106–108, 116–118, 120–124, 130, 132, 147, 153, 176–178, 180–184, 187–189, 191–195, 218–221, 225, 240, 242–243, 245, 262, 264, 272, 274, 276, 278, 283, 286, 292
   tests.py10100%3, 5, 10, 179, 184–185, 190–191, 207, 211
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/edtf/parser
   __init__.py40100% 
   edtf_exceptions.py151126%13–19, 22–24, 29
   grammar.py1281191%148–151, 350, 355–360
   parser_classes.py65135944%70, 72, 79–82, 84–85, 87–88, 111–113, 117, 120, 123, 182, 184, 191, 193, 199–203, 208–214, 221–225, 230–236, 246–248, 251, 256–258, 261, 282, 293, 307, 311, 323–325, 330, 338–340, 343, 358–359, 363, 392–396, 399, 404–405, 408, 411, 414, 417–421, 424–428, 448–450, 474, 478, 483, 485, 504, 511, 527, 536–538, 540–542, 545–546, 548, 551–554, 556, 558–560, 562, 566, 579, 586–589, 592, 595–598, 601–604, 606–610, 613–614, 617, 621, 627–628, 631, 634–635, 638, 642–643, 646–647, 650, 656, 661–662, 668, 670, 673–675, 681, 686–687, 690, 696, 698, 702–716, 721–723, 727, 729, 732–734, 738, 740, 743–745, 751–754, 759–760, 765–766, 768, 771, 774–776, 778, 781, 784–787, 789–795, 802–805, 807–813, 822–823, 826, 829, 832–834, 836, 844, 863–865, 867–870, 872–873, 875–876, 878, 880, 889, 892, 895, 902–903, 905–906, 908, 910, 912–913, 915, 917–922, 924, 926, 928–929, 931, 934, 939–941, 944–946, 949–951, 959, 961–962, 965–966, 969–970, 973–974, 976–977, 981, 985–986, 989, 994–995, 999–1000, 1002–1010, 1012, 1022–1023, 1025, 1027–1028, 1030, 1033, 1038, 1043, 1048, 1052–1053, 1056, 1059, 1061–1063, 1065, 1070–1071, 1073, 1081, 1085–1086, 1089, 1092–1094, 1103–1104, 1106, 1108–1109, 1111–1114, 1126–1128, 1133, 1136–1137, 1139, 1144
   tests.py89890%3–4, 6, 8–10, 26, 229, 243, 262, 284, 286–289, 291–293, 295–299, 302–303, 305–306, 309–311, 314–315, 318–321, 324, 327–331, 334, 337, 340, 343–348, 351, 354, 357, 362–363, 365–366, 369–370, 372–374, 377, 379–384, 386–393, 396–398, 400, 403–404, 410–414
edtf
   __init__.py40100% 
   appsettings.py28292%12–13
   convert.py631182%11–19, 21, 72
   fields.py1191190%1, 3–8, 10–13, 15, 23, 29, 31, 33–35, 38–39, 51–58, 60, 63, 65–70, 72–76, 78–79, 81, 83–84, 86, 88–89, 91, 93–95, 97–98, 100, 102–105, 107, 109–112, 114, 123–125, 128, 131–132, 135–136, 139–140, 142–144, 147, 151, 153, 155, 157, 160–173, 179, 181–182, 184–185, 190–191, 193–194, 196, 204, 206, 208–209, 212–213, 223–226, 234
   jdutil.py984455%37, 55, 91–92, 287, 291, 314, 316–317, 319, 321, 346, 348, 350, 370–372, 374, 376, 378, 381–383, 385, 387, 389, 392–393, 395, 397, 399–400, 402, 405–407, 410–413, 415, 417, 424, 431
   tests.py710100% 
edtf/natlang
   __init__.py20100% 
   en.py1601193%87, 90, 147, 183–184, 194–195, 220–221, 225, 292
   tests.py10190%211
edtf/parser
   __init__.py40100% 
   edtf_exceptions.py15286%24, 29
   grammar.py128298%357, 359
   parser_classes.py65110783%111–113, 120, 123, 184, 190–194, 201–203, 210–214, 223–225, 230–236, 246–248, 251, 256–258, 261, 282, 358–359, 392–396, 399, 414, 417–421, 424–428, 448–450, 566, 602, 610, 614, 661–662, 668, 686–687, 690, 696, 703, 705, 709, 716, 781, 787, 791, 805, 809, 844, 903, 921–922, 924, 929, 940, 945, 950, 986, 989, 995, 1000, 1002–1010, 1025, 1030, 1106, 1111, 1144
   tests.py89198%400
TOTAL2884105663% 

Tests Skipped Failures Errors Time
279 0 💤 0 ❌ 0 🔥 6.489s ⏱️

Copy link

@github-actions github-actions bot left a 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants