Skip to content

Commit

Permalink
Benchmark GCC on macOS (#1476)
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Cruz Viotti <[email protected]>
  • Loading branch information
jviotti authored Jan 23, 2025
1 parent 35a9236 commit fb6f334
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
cxx: g++-13
type: static
shell: sh
benchmark: macos/gcc
- os: ubuntu-latest
cc: clang
cxx: clang++
Expand Down

4 comments on commit fb6f334

@github-actions
Copy link

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: fb6f334 Previous: 35a9236 Ratio
JSON_Array_Of_Objects_Unique 380.6503032217588 ns/iter 349.20123644990935 ns/iter 1.09
JSON_Parse_1 25205.477750809165 ns/iter 21621.980317300422 ns/iter 1.17
JSON_Fast_Hash_Helm_Chart_Lock 58.762712927139425 ns/iter 48.977428039727045 ns/iter 1.20
JSON_Equality_Helm_Chart_Lock 148.60421344829822 ns/iter 123.30724088699219 ns/iter 1.21
JSON_String_Equal/10 8.09593483010849 ns/iter 7.677872456963327 ns/iter 1.05
JSON_String_Equal/100 6.493372856051645 ns/iter 6.088255417701636 ns/iter 1.07
JSON_String_Equal_Small_By_Perfect_Hash/10 0.3362662197171074 ns/iter 0.3155731949871655 ns/iter 1.07
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 3.0211536387437317 ns/iter 2.976365306771085 ns/iter 1.02
JSON_String_Fast_Hash/10 1.6785989554578589 ns/iter 1.6091677936281104 ns/iter 1.04
JSON_String_Fast_Hash/100 1.9617698189765675 ns/iter 1.9512210233429699 ns/iter 1.01
JSON_String_Key_Hash/10 1.3266289144907506 ns/iter 1.4323629937551718 ns/iter 0.93
JSON_String_Key_Hash/100 1.3171443979837156 ns/iter 1.2905747253939683 ns/iter 1.02
JSON_Object_Defines_Miss_Same_Length 2.322561771429332 ns/iter 2.2234664872310916 ns/iter 1.04
JSON_Object_Defines_Miss_Too_Small 2.490069783696772 ns/iter 2.257341340079406 ns/iter 1.10
JSON_Object_Defines_Miss_Too_Large 2.321704395383925 ns/iter 2.242643618441756 ns/iter 1.04
Pointer_Object_Traverse 16.162138032525903 ns/iter 15.687198051515177 ns/iter 1.03
Pointer_Object_Try_Traverse 22.869963849343645 ns/iter 22.16696234234785 ns/iter 1.03
Pointer_Push_Back_Pointer_To_Weak_Pointer 178.42964057798443 ns/iter 172.39874662609216 ns/iter 1.03

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

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: fb6f334 Previous: 35a9236 Ratio
JSON_Array_Of_Objects_Unique 434.6087443986175 ns/iter 435.19090004874727 ns/iter 1.00
JSON_Parse_1 30709.148877016054 ns/iter 30250.962770561742 ns/iter 1.02
JSON_Fast_Hash_Helm_Chart_Lock 67.48651371260824 ns/iter 67.5100753682172 ns/iter 1.00
JSON_Equality_Helm_Chart_Lock 138.1033879100799 ns/iter 141.60831145037073 ns/iter 0.98
JSON_String_Equal/10 5.907844037676241 ns/iter 5.911195514986926 ns/iter 1.00
JSON_String_Equal/100 6.537576070138412 ns/iter 6.537630920024291 ns/iter 1.00
JSON_String_Equal_Small_By_Perfect_Hash/10 0.9328677763751125 ns/iter 0.9332847177804049 ns/iter 1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 10.253124446516699 ns/iter 10.254169445183193 ns/iter 1.00
JSON_String_Fast_Hash/10 2.799324108329477 ns/iter 2.798465494731562 ns/iter 1.00
JSON_String_Fast_Hash/100 2.796078559572088 ns/iter 2.8015772446019023 ns/iter 1.00
JSON_String_Key_Hash/10 2.1806422650238204 ns/iter 2.1788709663372896 ns/iter 1.00
JSON_String_Key_Hash/100 2.1762546334975292 ns/iter 2.1856614490706763 ns/iter 1.00
JSON_Object_Defines_Miss_Same_Length 4.043313836459123 ns/iter 4.045280372272533 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Small 4.054233129761573 ns/iter 4.045284652297838 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Large 4.046539094558059 ns/iter 4.0473441817813205 ns/iter 1.00
Pointer_Object_Traverse 45.018444329876125 ns/iter 45.15840202662928 ns/iter 1.00
Pointer_Object_Try_Traverse 52.27223583054958 ns/iter 52.36880121494892 ns/iter 1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer 349.86256707304625 ns/iter 350.1935049863175 ns/iter 1.00

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

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: fb6f334 Previous: 35a9236 Ratio
JSON_Array_Of_Objects_Unique 493.3714000000009 ns/iter 490.89214285708795 ns/iter 1.01
JSON_Parse_1 87198.08490692214 ns/iter 81878.89379938635 ns/iter 1.06
JSON_Fast_Hash_Helm_Chart_Lock 65.53370535713603 ns/iter 65.5721339285772 ns/iter 1.00
JSON_Equality_Helm_Chart_Lock 187.34988279910723 ns/iter 185.9781419181851 ns/iter 1.01
JSON_String_Equal/10 8.995068709843444 ns/iter 8.984063799178818 ns/iter 1.00
JSON_String_Equal/100 9.949929866294578 ns/iter 9.956107991266778 ns/iter 1.00
JSON_String_Equal_Small_By_Perfect_Hash/10 2.173199687500116 ns/iter 2.1696346875000216 ns/iter 1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 14.535875827965524 ns/iter 14.688843684424803 ns/iter 0.99
JSON_String_Fast_Hash/10 3.72804374334273 ns/iter 3.7123167790852802 ns/iter 1.00
JSON_String_Fast_Hash/100 3.7179980290751034 ns/iter 3.7223416004962804 ns/iter 1.00
JSON_String_Key_Hash/10 8.03255468749978 ns/iter 7.738321428570417 ns/iter 1.04
JSON_String_Key_Hash/100 3.7204183862133746 ns/iter 3.7178737433611095 ns/iter 1.00
JSON_Object_Defines_Miss_Same_Length 3.725953683035854 ns/iter 3.7203889219280915 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Small 4.959497999999485 ns/iter 4.961696000000302 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Large 4.041446391145482 ns/iter 4.023362165178465 ns/iter 1.00
Pointer_Object_Traverse 49.67185323880491 ns/iter 49.71692000000303 ns/iter 1.00
Pointer_Object_Try_Traverse 72.082839285719 ns/iter 71.8297321428553 ns/iter 1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer 186.06438268433598 ns/iter 189.15218653144885 ns/iter 0.98

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

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: fb6f334 Previous: 35a9236 Ratio
Pointer_Object_Traverse 46.18071142438737 ns/iter 46.73546545890084 ns/iter 0.99
Pointer_Object_Try_Traverse 26.453477715594037 ns/iter 26.46493988840956 ns/iter 1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer 133.16228183613217 ns/iter 138.45217432457278 ns/iter 0.96
JSON_Array_Of_Objects_Unique 409.6453430892219 ns/iter 420.2763306710292 ns/iter 0.97
JSON_Parse_1 33699.80290986237 ns/iter 33086.50274102581 ns/iter 1.02
JSON_Fast_Hash_Helm_Chart_Lock 54.49255835848476 ns/iter 54.25421135597998 ns/iter 1.00
JSON_Equality_Helm_Chart_Lock 159.36315472590866 ns/iter 148.59710041579075 ns/iter 1.07
JSON_String_Equal/10 7.551265929681549 ns/iter 5.723125483737176 ns/iter 1.32
JSON_String_Equal/100 7.231104889121659 ns/iter 6.305973760451301 ns/iter 1.15
JSON_String_Equal_Small_By_Perfect_Hash/10 0.9482152615190896 ns/iter 0.9501188748838028 ns/iter 1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10 9.638755993938819 ns/iter 9.639249747113487 ns/iter 1.00
JSON_String_Fast_Hash/10 1.9047872939057597 ns/iter 1.9042959111721363 ns/iter 1.00
JSON_String_Fast_Hash/100 1.9045698257658732 ns/iter 1.9050481793914795 ns/iter 1.00
JSON_String_Key_Hash/10 2.0238529429383094 ns/iter 2.023440036315294 ns/iter 1.00
JSON_String_Key_Hash/100 2.0220095166551664 ns/iter 2.0281257058145923 ns/iter 1.00
JSON_Object_Defines_Miss_Same_Length 2.7964419435289614 ns/iter 2.8007234291674887 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Small 2.796673227266197 ns/iter 2.7981546493008653 ns/iter 1.00
JSON_Object_Defines_Miss_Too_Large 2.79779327640715 ns/iter 2.7979134853696355 ns/iter 1.00

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.