-
-
Notifications
You must be signed in to change notification settings - Fork 9
Better check for Decimal float/double loss of precision
#2035
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
Conversation
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
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 (linux/llvm)
| Benchmark suite | Current: ea9ad72 | Previous: 52b80f3 | Ratio |
|---|---|---|---|
Regex_Lower_S_Or_Upper_S_Asterisk |
3.1072196629356132 ns/iter |
3.107527569310942 ns/iter |
1.00 |
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar |
3.1141731156466714 ns/iter |
3.106633333824138 ns/iter |
1.00 |
Regex_Period_Asterisk |
3.106477294611543 ns/iter |
3.1123960215619455 ns/iter |
1.00 |
Regex_Group_Period_Asterisk_Group |
3.1081932173841818 ns/iter |
3.1076858025278518 ns/iter |
1.00 |
Regex_Period_Plus |
3.108837754079646 ns/iter |
2.8584108224613347 ns/iter |
1.09 |
Regex_Period |
3.1081439542944036 ns/iter |
3.1104243280254713 ns/iter |
1.00 |
Regex_Caret_Period_Plus_Dollar |
3.1072904641644445 ns/iter |
3.107524109679072 ns/iter |
1.00 |
Regex_Caret_Group_Period_Plus_Group_Dollar |
3.1071459070971468 ns/iter |
3.1088815874654685 ns/iter |
1.00 |
Regex_Caret_Period_Asterisk_Dollar |
3.1073283696673744 ns/iter |
3.1062890970877195 ns/iter |
1.00 |
Regex_Caret_Group_Period_Asterisk_Group_Dollar |
3.107854097395674 ns/iter |
3.1073510017802897 ns/iter |
1.00 |
Regex_Caret_X_Hyphen |
10.629006629215443 ns/iter |
10.618372235616933 ns/iter |
1.00 |
Regex_Period_Md_Dollar |
27.335751803849373 ns/iter |
27.317828476493474 ns/iter |
1.00 |
Regex_Caret_Slash_Period_Asterisk |
5.906913469772695 ns/iter |
5.906987951499049 ns/iter |
1.00 |
Regex_Caret_Period_Range_Dollar |
3.111839183912017 ns/iter |
3.109968377072682 ns/iter |
1.00 |
Regex_Nested_Backtrack |
48.816371128138286 ns/iter |
48.862056802216166 ns/iter |
1.00 |
JSON_Array_Of_Objects_Unique |
392.1329269592525 ns/iter |
390.4253162976146 ns/iter |
1.00 |
JSON_Parse_1 |
28971.24321745615 ns/iter |
28541.37295199192 ns/iter |
1.02 |
JSON_Fast_Hash_Helm_Chart_Lock |
55.994229381848164 ns/iter |
56.19565982590204 ns/iter |
1.00 |
JSON_Equality_Helm_Chart_Lock |
154.1491524013198 ns/iter |
153.50605723108396 ns/iter |
1.00 |
JSON_String_Equal/10 |
6.231346903485237 ns/iter |
6.222579677543593 ns/iter |
1.00 |
JSON_String_Equal/100 |
6.535829623355021 ns/iter |
6.846336115728948 ns/iter |
0.95 |
JSON_String_Equal_Small_By_Perfect_Hash/10 |
0.933642129863569 ns/iter |
0.9333869726731824 ns/iter |
1.00 |
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 |
10.260719470226485 ns/iter |
10.260007193370884 ns/iter |
1.00 |
JSON_String_Fast_Hash/10 |
2.2087481938277977 ns/iter |
2.1784371391848043 ns/iter |
1.01 |
JSON_String_Fast_Hash/100 |
2.174831263848729 ns/iter |
2.1772216615964197 ns/iter |
1.00 |
JSON_String_Key_Hash/10 |
2.1787639507635816 ns/iter |
2.1795851351109574 ns/iter |
1.00 |
JSON_String_Key_Hash/100 |
6.528160789174222 ns/iter |
6.529798016955231 ns/iter |
1.00 |
JSON_Object_Defines_Miss_Same_Length |
3.7331634325407097 ns/iter |
3.735345757471642 ns/iter |
1.00 |
JSON_Object_Defines_Miss_Too_Small |
3.7335015428032112 ns/iter |
3.736140931029541 ns/iter |
1.00 |
JSON_Object_Defines_Miss_Too_Large |
3.7433048437151095 ns/iter |
3.7343837268960676 ns/iter |
1.00 |
Pointer_Object_Traverse |
43.29932340604575 ns/iter |
43.220572236727875 ns/iter |
1.00 |
Pointer_Object_Try_Traverse |
53.450427078733526 ns/iter |
53.56607103358829 ns/iter |
1.00 |
Pointer_Push_Back_Pointer_To_Weak_Pointer |
285.36370123478935 ns/iter |
288.22005544823367 ns/iter |
0.99 |
Schema_Frame_OMC_Instances |
125032957.79999916 ns/iter |
119762166.19998467 ns/iter |
1.04 |
Schema_Frame_OMC_References |
48305205.13332885 ns/iter |
45064808.62499984 ns/iter |
1.07 |
Schema_Frame_OMC_Locations |
45048653.333333276 ns/iter |
42277188.874997765 ns/iter |
1.07 |
Schema_Bundle_Meta_2020_12 |
2670156.66793734 ns/iter |
2671862.973281388 ns/iter |
1.00 |
This comment was automatically generated by workflow using github-action-benchmark.
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 (macos/llvm)
| Benchmark suite | Current: ea9ad72 | Previous: 52b80f3 | Ratio |
|---|---|---|---|
Regex_Lower_S_Or_Upper_S_Asterisk |
2.018956323487032 ns/iter |
2.214606106496147 ns/iter |
0.91 |
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar |
2.0718614471259866 ns/iter |
2.2210797657761447 ns/iter |
0.93 |
Regex_Period_Asterisk |
2.096265823975973 ns/iter |
2.0343978777889817 ns/iter |
1.03 |
Regex_Group_Period_Asterisk_Group |
2.02379331162647 ns/iter |
1.881304716650236 ns/iter |
1.08 |
Regex_Period_Plus |
2.417954558942979 ns/iter |
2.216211548429789 ns/iter |
1.09 |
Regex_Period |
2.3203105669590873 ns/iter |
2.289117790860412 ns/iter |
1.01 |
Regex_Caret_Period_Plus_Dollar |
2.5818545782001974 ns/iter |
2.234347017030443 ns/iter |
1.16 |
Regex_Caret_Group_Period_Plus_Group_Dollar |
2.7508724248396996 ns/iter |
2.0945532795420134 ns/iter |
1.31 |
Regex_Caret_Period_Asterisk_Dollar |
2.0288672915421913 ns/iter |
1.7357816151975796 ns/iter |
1.17 |
Regex_Caret_Group_Period_Asterisk_Group_Dollar |
1.9325296042782303 ns/iter |
1.825075483203577 ns/iter |
1.06 |
Regex_Caret_X_Hyphen |
7.243592351622767 ns/iter |
7.277484861297422 ns/iter |
1.00 |
Regex_Period_Md_Dollar |
20.633254591736392 ns/iter |
24.614312344812458 ns/iter |
0.84 |
Regex_Caret_Slash_Period_Asterisk |
5.410692118410762 ns/iter |
5.895862244504044 ns/iter |
0.92 |
Regex_Caret_Period_Range_Dollar |
1.8428368124600305 ns/iter |
1.856200814142533 ns/iter |
0.99 |
Regex_Nested_Backtrack |
35.7385359142628 ns/iter |
30.017735488151242 ns/iter |
1.19 |
JSON_Array_Of_Objects_Unique |
429.20924332483776 ns/iter |
456.9949534207077 ns/iter |
0.94 |
JSON_Parse_1 |
27684.022542014758 ns/iter |
27154.006379284026 ns/iter |
1.02 |
JSON_Fast_Hash_Helm_Chart_Lock |
55.131722245298484 ns/iter |
64.29835979567052 ns/iter |
0.86 |
JSON_Equality_Helm_Chart_Lock |
140.68688409063995 ns/iter |
166.93759455500313 ns/iter |
0.84 |
JSON_String_Equal/10 |
6.880737596178946 ns/iter |
7.49077708533703 ns/iter |
0.92 |
JSON_String_Equal/100 |
6.704992832269439 ns/iter |
7.402148709411875 ns/iter |
0.91 |
JSON_String_Equal_Small_By_Perfect_Hash/10 |
0.3485436137908659 ns/iter |
0.3826661565872105 ns/iter |
0.91 |
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 |
3.791673325926859 ns/iter |
4.083844163352554 ns/iter |
0.93 |
JSON_String_Fast_Hash/10 |
2.04552092684986 ns/iter |
2.265054841139424 ns/iter |
0.90 |
JSON_String_Fast_Hash/100 |
1.9696479024072209 ns/iter |
2.278848284545963 ns/iter |
0.86 |
JSON_String_Key_Hash/10 |
1.9075851462670435 ns/iter |
1.7585935591477522 ns/iter |
1.08 |
JSON_String_Key_Hash/100 |
2.6524276120157366 ns/iter |
2.6081639401480525 ns/iter |
1.02 |
JSON_Object_Defines_Miss_Same_Length |
3.3557667280731605 ns/iter |
3.676978366758335 ns/iter |
0.91 |
JSON_Object_Defines_Miss_Too_Small |
3.1724646056552963 ns/iter |
3.1809677232307134 ns/iter |
1.00 |
JSON_Object_Defines_Miss_Too_Large |
3.2867748784901187 ns/iter |
3.8221633315567742 ns/iter |
0.86 |
Pointer_Object_Traverse |
17.816437590340655 ns/iter |
20.93930419881475 ns/iter |
0.85 |
Pointer_Object_Try_Traverse |
25.371651031485555 ns/iter |
26.68776488432412 ns/iter |
0.95 |
Pointer_Push_Back_Pointer_To_Weak_Pointer |
190.84412240369628 ns/iter |
200.01426561712202 ns/iter |
0.95 |
Schema_Frame_OMC_Instances |
144691191.80002964 ns/iter |
153904233.39999872 ns/iter |
0.94 |
Schema_Frame_OMC_References |
48553295.16666037 ns/iter |
57743984.90908342 ns/iter |
0.84 |
Schema_Frame_OMC_Locations |
47137269.39999105 ns/iter |
54425763.91665929 ns/iter |
0.87 |
Schema_Bundle_Meta_2020_12 |
2447595.9506163727 ns/iter |
2524670.491238156 ns/iter |
0.97 |
This comment was automatically generated by workflow using github-action-benchmark.
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 (windows/msvc)
| Benchmark suite | Current: ea9ad72 | Previous: 52b80f3 | Ratio |
|---|---|---|---|
Regex_Lower_S_Or_Upper_S_Asterisk |
4.7714773639408 ns/iter |
4.386469417684183 ns/iter |
1.09 |
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar |
4.392866874999868 ns/iter |
4.392324375000101 ns/iter |
1.00 |
Regex_Period_Asterisk |
5.024188999999524 ns/iter |
5.015351999999211 ns/iter |
1.00 |
Regex_Group_Period_Asterisk_Group |
4.715457599811047 ns/iter |
4.707040189078669 ns/iter |
1.00 |
Regex_Period_Plus |
4.715693983740387 ns/iter |
4.706326349790728 ns/iter |
1.00 |
Regex_Period |
4.724265412331385 ns/iter |
4.702830144426462 ns/iter |
1.00 |
Regex_Caret_Period_Plus_Dollar |
4.411195000000134 ns/iter |
4.384719375000401 ns/iter |
1.01 |
Regex_Caret_Group_Period_Plus_Group_Dollar |
4.100000364463693 ns/iter |
4.071891346556858 ns/iter |
1.01 |
Regex_Caret_Period_Asterisk_Dollar |
4.7148931037315185 ns/iter |
4.710169430156871 ns/iter |
1.00 |
Regex_Caret_Group_Period_Asterisk_Group_Dollar |
4.41817652933039 ns/iter |
4.388575000000117 ns/iter |
1.01 |
Regex_Caret_X_Hyphen |
7.940659598214391 ns/iter |
7.8279029017862864 ns/iter |
1.01 |
Regex_Period_Md_Dollar |
35.42529797705903 ns/iter |
35.207814496376486 ns/iter |
1.01 |
Regex_Caret_Slash_Period_Asterisk |
7.539021205356734 ns/iter |
7.510331473213735 ns/iter |
1.00 |
Regex_Caret_Period_Range_Dollar |
4.486578750000092 ns/iter |
4.389517667793042 ns/iter |
1.02 |
Regex_Nested_Backtrack |
94.04125026601568 ns/iter |
98.08089740710358 ns/iter |
0.96 |
JSON_Array_Of_Objects_Unique |
604.0172751812962 ns/iter |
420.1818607061129 ns/iter |
1.44 |
JSON_Parse_1 |
81256.56250001104 ns/iter |
71663.14732142608 ns/iter |
1.13 |
JSON_Fast_Hash_Helm_Chart_Lock |
59.42473000000063 ns/iter |
58.08854000000565 ns/iter |
1.02 |
JSON_Equality_Helm_Chart_Lock |
213.58901014189615 ns/iter |
199.7859352774019 ns/iter |
1.07 |
JSON_String_Equal/10 |
9.14920844129834 ns/iter |
9.082605763023391 ns/iter |
1.01 |
JSON_String_Equal/100 |
10.437218749999033 ns/iter |
10.33383745386658 ns/iter |
1.01 |
JSON_String_Equal_Small_By_Perfect_Hash/10 |
2.1925234375000713 ns/iter |
2.190249999999949 ns/iter |
1.00 |
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 |
12.566985211754162 ns/iter |
12.550105357141613 ns/iter |
1.00 |
JSON_String_Fast_Hash/10 |
3.1540621924277845 ns/iter |
3.1284196428573403 ns/iter |
1.01 |
JSON_String_Fast_Hash/100 |
3.1413098214286044 ns/iter |
3.1337303571424355 ns/iter |
1.00 |
JSON_String_Key_Hash/10 |
3.7506149933027477 ns/iter |
3.7591157075728927 ns/iter |
1.00 |
JSON_String_Key_Hash/100 |
16.268232142857237 ns/iter |
16.527927121464117 ns/iter |
0.98 |
JSON_Object_Defines_Miss_Same_Length |
4.834147109004915 ns/iter |
4.697336394413758 ns/iter |
1.03 |
JSON_Object_Defines_Miss_Too_Small |
3.801586064639629 ns/iter |
3.754939279008991 ns/iter |
1.01 |
JSON_Object_Defines_Miss_Too_Large |
4.71599130516948 ns/iter |
4.697933715843219 ns/iter |
1.00 |
Pointer_Object_Traverse |
50.61948214285548 ns/iter |
50.128910000000815 ns/iter |
1.01 |
Pointer_Object_Try_Traverse |
72.74203124999649 ns/iter |
72.40058035714623 ns/iter |
1.00 |
Pointer_Push_Back_Pointer_To_Weak_Pointer |
169.24511160714775 ns/iter |
171.7660181986161 ns/iter |
0.99 |
Schema_Frame_OMC_Instances |
277808899.9999682 ns/iter |
274763699.99999404 ns/iter |
1.01 |
Schema_Frame_OMC_References |
127266866.66665424 ns/iter |
123917749.99999446 ns/iter |
1.03 |
Schema_Frame_OMC_Locations |
120988666.66665722 ns/iter |
120816783.33333911 ns/iter |
1.00 |
Schema_Bundle_Meta_2020_12 |
6358209.821434408 ns/iter |
6419034.444446778 ns/iter |
0.99 |
This comment was automatically generated by workflow using github-action-benchmark.
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 (linux/gcc)
| Benchmark suite | Current: ea9ad72 | Previous: 52b80f3 | Ratio |
|---|---|---|---|
Schema_Frame_OMC_Instances |
128352284.79998477 ns/iter |
127753129.80002126 ns/iter |
1.00 |
Schema_Frame_OMC_References |
51028027.42858005 ns/iter |
50423228.285710916 ns/iter |
1.01 |
Schema_Frame_OMC_Locations |
47646490.20000131 ns/iter |
46419666.999994054 ns/iter |
1.03 |
Schema_Bundle_Meta_2020_12 |
2860341.477368592 ns/iter |
2903973.5061856178 ns/iter |
0.98 |
Pointer_Object_Traverse |
48.89178006480469 ns/iter |
46.84655516457956 ns/iter |
1.04 |
Pointer_Object_Try_Traverse |
22.75916927360514 ns/iter |
22.738327690654227 ns/iter |
1.00 |
Pointer_Push_Back_Pointer_To_Weak_Pointer |
168.09682074916572 ns/iter |
157.46159536568737 ns/iter |
1.07 |
JSON_Array_Of_Objects_Unique |
380.5095247043172 ns/iter |
378.65093866696645 ns/iter |
1.00 |
JSON_Parse_1 |
31415.837325304747 ns/iter |
32042.703590357447 ns/iter |
0.98 |
JSON_Fast_Hash_Helm_Chart_Lock |
69.65413691487471 ns/iter |
63.74290768471864 ns/iter |
1.09 |
JSON_Equality_Helm_Chart_Lock |
146.9870225791433 ns/iter |
144.51237452083697 ns/iter |
1.02 |
JSON_String_Equal/10 |
6.573750271011561 ns/iter |
5.64170309711893 ns/iter |
1.17 |
JSON_String_Equal/100 |
5.9530908027155505 ns/iter |
6.267089483956638 ns/iter |
0.95 |
JSON_String_Equal_Small_By_Perfect_Hash/10 |
0.6234175369689816 ns/iter |
0.624231698009161 ns/iter |
1.00 |
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 |
25.161088131488558 ns/iter |
25.16380175903467 ns/iter |
1.00 |
JSON_String_Fast_Hash/10 |
0.9334856536378918 ns/iter |
0.9335660110333254 ns/iter |
1.00 |
JSON_String_Fast_Hash/100 |
0.9341860151485893 ns/iter |
0.9337049859908495 ns/iter |
1.00 |
JSON_String_Key_Hash/10 |
1.5574652654484313 ns/iter |
1.5578825371063156 ns/iter |
1.00 |
JSON_String_Key_Hash/100 |
12.4381977143491 ns/iter |
12.434898745822817 ns/iter |
1.00 |
JSON_Object_Defines_Miss_Same_Length |
2.799856118670919 ns/iter |
2.8004017364398406 ns/iter |
1.00 |
JSON_Object_Defines_Miss_Too_Small |
2.4882656385612214 ns/iter |
2.4887962346410535 ns/iter |
1.00 |
JSON_Object_Defines_Miss_Too_Large |
2.8061395468642747 ns/iter |
2.7988468446808668 ns/iter |
1.00 |
Regex_Lower_S_Or_Upper_S_Asterisk |
3.110781089662471 ns/iter |
3.1111230244791335 ns/iter |
1.00 |
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar |
3.1113736841828628 ns/iter |
3.1109116741586598 ns/iter |
1.00 |
Regex_Period_Asterisk |
3.1293567113050935 ns/iter |
3.1091486242537165 ns/iter |
1.01 |
Regex_Group_Period_Asterisk_Group |
3.109479251873585 ns/iter |
3.111623617592462 ns/iter |
1.00 |
Regex_Period_Plus |
2.8052642012875855 ns/iter |
2.7992817759477466 ns/iter |
1.00 |
Regex_Period |
2.8015014099661846 ns/iter |
2.799295510005426 ns/iter |
1.00 |
Regex_Caret_Period_Plus_Dollar |
2.7977662671816153 ns/iter |
2.799886829892085 ns/iter |
1.00 |
Regex_Caret_Group_Period_Plus_Group_Dollar |
2.7968427496738824 ns/iter |
2.802242350102769 ns/iter |
1.00 |
Regex_Caret_Period_Asterisk_Dollar |
4.0413185619506 ns/iter |
4.041801121496561 ns/iter |
1.00 |
Regex_Caret_Group_Period_Asterisk_Group_Dollar |
4.046147443621906 ns/iter |
4.0416033707077235 ns/iter |
1.00 |
Regex_Caret_X_Hyphen |
13.078054724275626 ns/iter |
13.68107730389024 ns/iter |
0.96 |
Regex_Period_Md_Dollar |
36.55747658320435 ns/iter |
37.19568428711451 ns/iter |
0.98 |
Regex_Caret_Slash_Period_Asterisk |
7.37352903998728 ns/iter |
8.396503618624925 ns/iter |
0.88 |
Regex_Caret_Period_Range_Dollar |
4.041272438723203 ns/iter |
4.0415344878688835 ns/iter |
1.00 |
Regex_Nested_Backtrack |
60.89739253324314 ns/iter |
61.3286526913943 ns/iter |
0.99 |
This comment was automatically generated by workflow using github-action-benchmark.
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 (macos/gcc)
| Benchmark suite | Current: ea9ad72 | Previous: 52b80f3 | Ratio |
|---|---|---|---|
Regex_Lower_S_Or_Upper_S_Asterisk |
3.2032198714701616 ns/iter |
2.284641501175702 ns/iter |
1.40 |
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar |
2.526129164671696 ns/iter |
2.904022694829123 ns/iter |
0.87 |
Regex_Period_Asterisk |
2.4633746693418477 ns/iter |
2.247839925091473 ns/iter |
1.10 |
Regex_Group_Period_Asterisk_Group |
2.516333724001794 ns/iter |
2.2705518143741568 ns/iter |
1.11 |
Regex_Period_Plus |
2.455734412490208 ns/iter |
2.3692967928843744 ns/iter |
1.04 |
Regex_Period |
2.5687167524370342 ns/iter |
2.3690011694234583 ns/iter |
1.08 |
Regex_Caret_Period_Plus_Dollar |
2.723323753588913 ns/iter |
2.5849159687168686 ns/iter |
1.05 |
Regex_Caret_Group_Period_Plus_Group_Dollar |
2.835107036235048 ns/iter |
2.35120900765533 ns/iter |
1.21 |
Regex_Caret_Period_Asterisk_Dollar |
2.5560426383680523 ns/iter |
2.6969132574348 ns/iter |
0.95 |
Regex_Caret_Group_Period_Asterisk_Group_Dollar |
3.11626044641225 ns/iter |
2.662409610092129 ns/iter |
1.17 |
Regex_Caret_X_Hyphen |
9.525964730158544 ns/iter |
9.203750802843343 ns/iter |
1.04 |
Regex_Period_Md_Dollar |
29.954477456480408 ns/iter |
30.10969137085104 ns/iter |
0.99 |
Regex_Caret_Slash_Period_Asterisk |
7.47601836614251 ns/iter |
6.894286811268433 ns/iter |
1.08 |
Regex_Caret_Period_Range_Dollar |
2.750727761167105 ns/iter |
2.687201484143543 ns/iter |
1.02 |
Regex_Nested_Backtrack |
58.20283817839558 ns/iter |
59.11819934844971 ns/iter |
0.98 |
JSON_Array_Of_Objects_Unique |
306.38205761087056 ns/iter |
338.8919035423191 ns/iter |
0.90 |
JSON_Parse_1 |
36351.39868355525 ns/iter |
25239.475498349915 ns/iter |
1.44 |
JSON_Fast_Hash_Helm_Chart_Lock |
44.957606751210186 ns/iter |
47.2111114887023 ns/iter |
0.95 |
JSON_Equality_Helm_Chart_Lock |
139.53203901775083 ns/iter |
156.89598128230062 ns/iter |
0.89 |
JSON_String_Equal/10 |
6.590071473555415 ns/iter |
7.359878250229446 ns/iter |
0.90 |
JSON_String_Equal/100 |
6.04499228468017 ns/iter |
7.054659654315062 ns/iter |
0.86 |
JSON_String_Equal_Small_By_Perfect_Hash/10 |
0.8902753911981555 ns/iter |
1.0559877535923545 ns/iter |
0.84 |
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 |
3.2797432118598917 ns/iter |
4.07545431501404 ns/iter |
0.80 |
JSON_String_Fast_Hash/10 |
2.068817361366909 ns/iter |
2.5461503851612264 ns/iter |
0.81 |
JSON_String_Fast_Hash/100 |
2.387393620493668 ns/iter |
2.6001804608034633 ns/iter |
0.92 |
JSON_String_Key_Hash/10 |
1.5379800276856364 ns/iter |
1.7775604325930703 ns/iter |
0.87 |
JSON_String_Key_Hash/100 |
2.9786710273424433 ns/iter |
3.174198040338308 ns/iter |
0.94 |
JSON_Object_Defines_Miss_Same_Length |
2.3045867334909644 ns/iter |
2.088142573584395 ns/iter |
1.10 |
JSON_Object_Defines_Miss_Too_Small |
2.3167167517684484 ns/iter |
2.115720129701197 ns/iter |
1.10 |
JSON_Object_Defines_Miss_Too_Large |
2.398942095326984 ns/iter |
2.0880297791268396 ns/iter |
1.15 |
Pointer_Object_Traverse |
63.82056049104442 ns/iter |
58.83120607865769 ns/iter |
1.08 |
Pointer_Object_Try_Traverse |
39.65945995456793 ns/iter |
45.75474005184274 ns/iter |
0.87 |
Pointer_Push_Back_Pointer_To_Weak_Pointer |
167.62499691474255 ns/iter |
192.71599742150877 ns/iter |
0.87 |
Schema_Frame_OMC_Instances |
149480772.01843262 ns/iter |
172769975.66223145 ns/iter |
0.87 |
Schema_Frame_OMC_References |
63032995.57078969 ns/iter |
66600990.295410156 ns/iter |
0.95 |
Schema_Frame_OMC_Locations |
51870431.21882848 ns/iter |
76959013.93890381 ns/iter |
0.67 |
Schema_Bundle_Meta_2020_12 |
2491321.465740465 ns/iter |
2931978.8958575274 ns/iter |
0.85 |
This comment was automatically generated by workflow using github-action-benchmark.
Signed-off-by: Juan Cruz Viotti jv@jviotti.com