-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop consuming GoogleTest and GoogleBenchmark from Noa (#1488)
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
- Loading branch information
Showing
143 changed files
with
52,949 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
if(NOT Benchmark_FOUND) | ||
set(BENCHMARK_ENABLE_TESTING OFF CACHE BOOL "enable testing of the benchmark library") | ||
add_subdirectory("${PROJECT_SOURCE_DIR}/vendor/googlebenchmark") | ||
set(Benchmark_FOUND ON) | ||
endif() |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
if(NOT GoogleTest_FOUND) | ||
set(BUILD_GMOCK ON CACHE BOOL "enable googlemock") | ||
set(INSTALL_GTEST OFF CACHE BOOL "disable installation") | ||
add_subdirectory("${PROJECT_SOURCE_DIR}/vendor/googletest") | ||
set(GoogleTest_FOUND ON) | ||
endif() |
This file was deleted.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
c3f7d13
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)
Regex_Lower_S_Or_Upper_S_Asterisk
2.494957021061062
ns/iter1.5675992467317115
ns/iter1.59
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
2.075127971530879
ns/iter1.5698111269484059
ns/iter1.32
Regex_Period_Asterisk
2.0601802426652203
ns/iter1.5832553749118763
ns/iter1.30
Regex_Group_Period_Asterisk_Group
2.242151665268885
ns/iter1.5712266407304587
ns/iter1.43
Regex_Period_Plus
2.5269916009839517
ns/iter1.885139068191515
ns/iter1.34
Regex_Period
2.5112614719182806
ns/iter1.8812579490514545
ns/iter1.33
Regex_Caret_Period_Plus_Dollar
2.6750222956780845
ns/iter1.8819763604072588
ns/iter1.42
Regex_Caret_Group_Period_Plus_Group_Dollar
2.5462592245250875
ns/iter1.8815577679908875
ns/iter1.35
Regex_Caret_Period_Asterisk_Dollar
2.222477466630095
ns/iter1.568523431905189
ns/iter1.42
Regex_Caret_Group_Period_Asterisk_Group_Dollar
2.028173310573809
ns/iter1.5676281344801375
ns/iter1.29
Regex_Caret_X_Hyphen
9.614149990548526
ns/iter6.578391100837746
ns/iter1.46
Regex_Period_Md_Dollar
98.64739060716767
ns/iter67.11271066687415
ns/iter1.47
Regex_Caret_Slash_Period_Asterisk
6.742438921858088
ns/iter5.085274297109281
ns/iter1.33
Regex_Caret_Period_Range_Dollar
3.0774216089922564
ns/iter2.1953826745198604
ns/iter1.40
Regex_Nested_Backtrack
944.3422682348213
ns/iter730.2970782273854
ns/iter1.29
JSON_Array_Of_Objects_Unique
414.7655569954979
ns/iter327.7751269566152
ns/iter1.27
JSON_Parse_1
29926.416327546922
ns/iter21335.509205473278
ns/iter1.40
JSON_Fast_Hash_Helm_Chart_Lock
64.62216481032635
ns/iter47.61171596775828
ns/iter1.36
JSON_Equality_Helm_Chart_Lock
162.56040403716747
ns/iter118.81188498662641
ns/iter1.37
JSON_String_Equal/10
11.982139638939037
ns/iter7.5189644287583635
ns/iter1.59
JSON_String_Equal/100
8.285041226231394
ns/iter5.9603186531728864
ns/iter1.39
JSON_String_Equal_Small_By_Perfect_Hash/10
0.41381714940002867
ns/iter0.3135637980790458
ns/iter1.32
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
3.8433054999469176
ns/iter2.9001058891703617
ns/iter1.33
JSON_String_Fast_Hash/10
2.1888788725308927
ns/iter1.5668793763912479
ns/iter1.40
JSON_String_Fast_Hash/100
2.6001563817183952
ns/iter1.880122191344516
ns/iter1.38
JSON_String_Key_Hash/10
1.541642183844547
ns/iter1.2630163421263159
ns/iter1.22
JSON_String_Key_Hash/100
1.6664660506620932
ns/iter1.2540105149500014
ns/iter1.33
JSON_Object_Defines_Miss_Same_Length
2.7872262093033333
ns/iter2.2013091023929015
ns/iter1.27
JSON_Object_Defines_Miss_Too_Small
3.0676584047911835
ns/iter2.1943459730131893
ns/iter1.40
JSON_Object_Defines_Miss_Too_Large
2.946687232950357
ns/iter2.2001960539072742
ns/iter1.34
Pointer_Object_Traverse
21.08938453581296
ns/iter15.255610632680147
ns/iter1.38
Pointer_Object_Try_Traverse
35.894195104321795
ns/iter21.74044577890794
ns/iter1.65
Pointer_Push_Back_Pointer_To_Weak_Pointer
255.78165865882337
ns/iter172.40022342766332
ns/iter1.48
This comment was automatically generated by workflow using github-action-benchmark.
c3f7d13
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)
Regex_Lower_S_Or_Upper_S_Asterisk
2.206860129402071
ns/iter2.2297296607139843
ns/iter0.99
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
2.2023453329986378
ns/iter2.2184184842627857
ns/iter0.99
Regex_Period_Asterisk
2.2068845743075642
ns/iter2.209116154986353
ns/iter1.00
Regex_Group_Period_Asterisk_Group
2.205261510956338
ns/iter2.2057870643049498
ns/iter1.00
Regex_Period_Plus
2.4904715288827735
ns/iter2.798646531146345
ns/iter0.89
Regex_Period
2.4926240872392333
ns/iter2.7973622890630008
ns/iter0.89
Regex_Caret_Period_Plus_Dollar
2.500691686794072
ns/iter2.797103273261428
ns/iter0.89
Regex_Caret_Group_Period_Plus_Group_Dollar
2.496714569605122
ns/iter2.7972607578210456
ns/iter0.89
Regex_Caret_Period_Asterisk_Dollar
2.1997771334758824
ns/iter2.8013222900643586
ns/iter0.79
Regex_Caret_Group_Period_Asterisk_Group_Dollar
2.2240872675619756
ns/iter3.4179864453705693
ns/iter0.65
Regex_Caret_X_Hyphen
12.660468249310965
ns/iter12.567774718154537
ns/iter1.01
Regex_Period_Md_Dollar
81.46748431952038
ns/iter81.22990066993871
ns/iter1.00
Regex_Caret_Slash_Period_Asterisk
5.598332573594535
ns/iter6.836181427241357
ns/iter0.82
Regex_Caret_Period_Range_Dollar
2.8072280440647837
ns/iter4.045049220448583
ns/iter0.69
Regex_Nested_Backtrack
511.58405946636105
ns/iter502.02896299998656
ns/iter1.02
JSON_Array_Of_Objects_Unique
441.6879730737701
ns/iter410.74159512435307
ns/iter1.08
JSON_Parse_1
30806.144912957097
ns/iter30179.499056523717
ns/iter1.02
JSON_Fast_Hash_Helm_Chart_Lock
58.6035345441144
ns/iter58.495974627242205
ns/iter1.00
JSON_Equality_Helm_Chart_Lock
161.9189438300567
ns/iter161.8180658527348
ns/iter1.00
JSON_String_Equal/10
7.467667388330703
ns/iter7.02916901173979
ns/iter1.06
JSON_String_Equal/100
8.089831496875433
ns/iter6.532754879492395
ns/iter1.24
JSON_String_Equal_Small_By_Perfect_Hash/10
0.937021978305616
ns/iter0.9349516159786384
ns/iter1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
14.602535631743637
ns/iter14.604563285436134
ns/iter1.00
JSON_String_Fast_Hash/10
2.4887345404090984
ns/iter2.486907974391555
ns/iter1.00
JSON_String_Fast_Hash/100
2.4914599084074105
ns/iter2.4895379599073655
ns/iter1.00
JSON_String_Key_Hash/10
2.698924248066495
ns/iter2.69225809795205
ns/iter1.00
JSON_String_Key_Hash/100
1.8881164753965105
ns/iter1.904575502386304
ns/iter0.99
JSON_Object_Defines_Miss_Same_Length
3.749136185402371
ns/iter3.7347279547126124
ns/iter1.00
JSON_Object_Defines_Miss_Too_Small
3.735620105472967
ns/iter3.7341593690866364
ns/iter1.00
JSON_Object_Defines_Miss_Too_Large
3.738044530716799
ns/iter3.7322046854441844
ns/iter1.00
Pointer_Object_Traverse
43.907214501607164
ns/iter43.97471622956669
ns/iter1.00
Pointer_Object_Try_Traverse
52.41123663315436
ns/iter52.290123136798194
ns/iter1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer
290.7968978510983
ns/iter290.38297564997816
ns/iter1.00
This comment was automatically generated by workflow using github-action-benchmark.
c3f7d13
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)
Regex_Lower_S_Or_Upper_S_Asterisk
1.9422334319404766
ns/iter2.877271291135805
ns/iter0.68
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
1.9248250354764807
ns/iter2.443791313984109
ns/iter0.79
Regex_Period_Asterisk
1.9186656331599659
ns/iter2.17685285702276
ns/iter0.88
Regex_Group_Period_Asterisk_Group
1.9303102351047885
ns/iter2.028867685342938
ns/iter0.95
Regex_Period_Plus
1.6337959023616806
ns/iter1.7004568948896053
ns/iter0.96
Regex_Period
1.6431496139025195
ns/iter1.696900225552773
ns/iter0.97
Regex_Caret_Period_Plus_Dollar
1.65681634924508
ns/iter1.7028765232729426
ns/iter0.97
Regex_Caret_Group_Period_Plus_Group_Dollar
1.6539180955007715
ns/iter1.6949070322433324
ns/iter0.98
Regex_Caret_Period_Asterisk_Dollar
1.9572065285170237
ns/iter2.030448889719994
ns/iter0.96
Regex_Caret_Group_Period_Asterisk_Group_Dollar
1.9473115540718464
ns/iter2.0494221367795276
ns/iter0.95
Regex_Caret_X_Hyphen
6.186587392815636
ns/iter6.466665372962175
ns/iter0.96
Regex_Period_Md_Dollar
71.41027770751175
ns/iter76.49701976290403
ns/iter0.93
Regex_Caret_Slash_Period_Asterisk
4.594091960392208
ns/iter4.887457213768917
ns/iter0.94
Regex_Caret_Period_Range_Dollar
1.934369992521681
ns/iter2.0697035003206117
ns/iter0.93
Regex_Nested_Backtrack
855.0031236709585
ns/iter885.4627054822018
ns/iter0.97
JSON_Array_Of_Objects_Unique
212.47629564857675
ns/iter220.2980668665595
ns/iter0.96
JSON_Parse_1
23841.04615052382
ns/iter25114.725875489286
ns/iter0.95
JSON_Fast_Hash_Helm_Chart_Lock
24.392625255910623
ns/iter25.946153203477348
ns/iter0.94
JSON_Equality_Helm_Chart_Lock
116.90236071109466
ns/iter123.08261876054146
ns/iter0.95
JSON_String_Equal/10
5.495133046372576
ns/iter5.758392406365255
ns/iter0.95
JSON_String_Equal/100
5.341123184624311
ns/iter5.5054902474720615
ns/iter0.97
JSON_String_Equal_Small_By_Perfect_Hash/10
0.9811750500905899
ns/iter1.115495570700371
ns/iter0.88
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
3.579323197136499
ns/iter4.326623096845049
ns/iter0.83
JSON_String_Fast_Hash/10
1.9748506302144149
ns/iter2.293374190259104
ns/iter0.86
JSON_String_Fast_Hash/100
1.933911187320243
ns/iter2.235427194652832
ns/iter0.87
JSON_String_Key_Hash/10
1.471081857742513
ns/iter1.6593356364643792
ns/iter0.89
JSON_String_Key_Hash/100
1.971392376207168
ns/iter2.1742821422713883
ns/iter0.91
JSON_Object_Defines_Miss_Same_Length
1.7700459693013506
ns/iter1.8620378469872418
ns/iter0.95
JSON_Object_Defines_Miss_Too_Small
1.928390988822747
ns/iter2.043190396107593
ns/iter0.94
JSON_Object_Defines_Miss_Too_Large
1.761070880311814
ns/iter1.8981064770752778
ns/iter0.93
Pointer_Object_Traverse
54.0052243645939
ns/iter56.54779591394213
ns/iter0.96
Pointer_Object_Try_Traverse
36.83958358776272
ns/iter38.88587731038979
ns/iter0.95
Pointer_Push_Back_Pointer_To_Weak_Pointer
158.8090222241317
ns/iter165.20176548950565
ns/iter0.96
This comment was automatically generated by workflow using github-action-benchmark.
c3f7d13
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)
Regex_Lower_S_Or_Upper_S_Asterisk
7.508713392858064
ns/iter6.917392857143259
ns/iter1.09
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
7.11468638392887
ns/iter6.900580357142821
ns/iter1.03
Regex_Period_Asterisk
6.978803571427201
ns/iter7.021840401785693
ns/iter0.99
Regex_Group_Period_Asterisk_Group
6.983318080356429
ns/iter7.164977678571256
ns/iter0.97
Regex_Period_Plus
7.218214285714453
ns/iter7.393487723215131
ns/iter0.98
Regex_Period
7.591947544643825
ns/iter7.200653571428818
ns/iter1.05
Regex_Caret_Period_Plus_Dollar
7.731741929770602
ns/iter7.206448628542314
ns/iter1.07
Regex_Caret_Group_Period_Plus_Group_Dollar
7.175816964285327
ns/iter7.214527901785925
ns/iter0.99
Regex_Caret_Period_Asterisk_Dollar
7.130583928571354
ns/iter6.86268191964347
ns/iter1.04
Regex_Caret_Group_Period_Asterisk_Group_Dollar
6.918321397686153
ns/iter7.301828538831925
ns/iter0.95
Regex_Caret_X_Hyphen
11.74122656250276
ns/iter14.242953954270503
ns/iter0.82
Regex_Period_Md_Dollar
148.63101568613277
ns/iter148.11694196430784
ns/iter1.00
Regex_Caret_Slash_Period_Asterisk
10.382592187500705
ns/iter10.497281250000157
ns/iter0.99
Regex_Caret_Period_Range_Dollar
7.586963805415974
ns/iter7.83938616071416
ns/iter0.97
Regex_Nested_Backtrack
629.9098214285997
ns/iter621.4324107142082
ns/iter1.01
JSON_Array_Of_Objects_Unique
455.2196874999481
ns/iter448.1697499999626
ns/iter1.02
JSON_Parse_1
81406.43973213458
ns/iter81009.29687500725
ns/iter1.00
JSON_Fast_Hash_Helm_Chart_Lock
65.66140178571393
ns/iter66.51024107142689
ns/iter0.99
JSON_Equality_Helm_Chart_Lock
204.14725929886487
ns/iter198.358276639121
ns/iter1.03
JSON_String_Equal/10
9.899246428574315
ns/iter10.013625000000914
ns/iter0.99
JSON_String_Equal/100
9.97802138402619
ns/iter9.939326562500739
ns/iter1.00
JSON_String_Equal_Small_By_Perfect_Hash/10
2.1693886359716954
ns/iter2.1688934374999747
ns/iter1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
14.708200571148083
ns/iter15.100343750000482
ns/iter0.97
JSON_String_Fast_Hash/10
3.745432493311201
ns/iter3.7171349933622846
ns/iter1.01
JSON_String_Fast_Hash/100
3.814576450892813
ns/iter3.71790052907528
ns/iter1.03
JSON_String_Key_Hash/10
7.852645089285102
ns/iter7.66066741071444
ns/iter1.03
JSON_String_Key_Hash/100
4.029047641123108
ns/iter4.026645542904461
ns/iter1.00
JSON_Object_Defines_Miss_Same_Length
3.7120574933722335
ns/iter3.7187978505021153
ns/iter1.00
JSON_Object_Defines_Miss_Too_Small
3.7181630290747574
ns/iter3.7184185647884895
ns/iter1.00
JSON_Object_Defines_Miss_Too_Large
4.976899999999205
ns/iter4.953034000000116
ns/iter1.00
Pointer_Object_Traverse
52.55801999999221
ns/iter52.44036999999935
ns/iter1.00
Pointer_Object_Try_Traverse
67.91716517857388
ns/iter68.129252232144
ns/iter1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer
179.70127497332487
ns/iter163.41584821429728
ns/iter1.10
This comment was automatically generated by workflow using github-action-benchmark.
c3f7d13
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)
Pointer_Object_Traverse
50.407436701162275
ns/iter50.15660501764135
ns/iter1.01
Pointer_Object_Try_Traverse
26.503382566553746
ns/iter26.47226641370318
ns/iter1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer
137.481482759377
ns/iter138.29663210703097
ns/iter0.99
JSON_Array_Of_Objects_Unique
406.40633940533536
ns/iter417.9872736386254
ns/iter0.97
JSON_Parse_1
33831.722454872855
ns/iter33657.251948426085
ns/iter1.01
JSON_Fast_Hash_Helm_Chart_Lock
64.26943168596114
ns/iter70.53455387965447
ns/iter0.91
JSON_Equality_Helm_Chart_Lock
141.75240778884836
ns/iter143.16751220987476
ns/iter0.99
JSON_String_Equal/10
5.991053185782867
ns/iter5.696453240077336
ns/iter1.05
JSON_String_Equal/100
6.622040803091287
ns/iter6.315691588015817
ns/iter1.05
JSON_String_Equal_Small_By_Perfect_Hash/10
0.6240244357175735
ns/iter0.6233346624556023
ns/iter1.00
JSON_String_Equal_Small_By_Runtime_Perfect_Hash/10
14.289600592500387
ns/iter14.287831004357026
ns/iter1.00
JSON_String_Fast_Hash/10
0.933688650752307
ns/iter0.9338010982541507
ns/iter1.00
JSON_String_Fast_Hash/100
0.9353421456905343
ns/iter0.9345787623324568
ns/iter1.00
JSON_String_Key_Hash/10
1.7109706281516923
ns/iter1.7110595242228368
ns/iter1.00
JSON_String_Key_Hash/100
2.022307888395911
ns/iter2.022283046518291
ns/iter1.00
JSON_Object_Defines_Miss_Same_Length
3.108705834736169
ns/iter3.1156412031186567
ns/iter1.00
JSON_Object_Defines_Miss_Too_Small
2.7970593573310065
ns/iter2.797479617569553
ns/iter1.00
JSON_Object_Defines_Miss_Too_Large
2.492997143290285
ns/iter2.4887403609814256
ns/iter1.00
Regex_Lower_S_Or_Upper_S_Asterisk
2.795593014691357
ns/iter2.797657242623876
ns/iter1.00
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
2.7979446433239326
ns/iter2.798125487062752
ns/iter1.00
Regex_Period_Asterisk
2.797047577895719
ns/iter2.8333556609019026
ns/iter0.99
Regex_Group_Period_Asterisk_Group
2.796649479813564
ns/iter2.8051377548740217
ns/iter1.00
Regex_Period_Plus
3.4260232155751535
ns/iter3.41822228176545
ns/iter1.00
Regex_Period
3.428785697228287
ns/iter3.4189296631497568
ns/iter1.00
Regex_Caret_Period_Plus_Dollar
3.4216687945916147
ns/iter3.4199188263631597
ns/iter1.00
Regex_Caret_Group_Period_Plus_Group_Dollar
3.4203252030456803
ns/iter3.4033776646050042
ns/iter1.00
Regex_Caret_Period_Asterisk_Dollar
4.042263261094652
ns/iter3.1115759451117344
ns/iter1.30
Regex_Caret_Group_Period_Asterisk_Group_Dollar
4.042110671077007
ns/iter3.1184099488396355
ns/iter1.30
Regex_Caret_X_Hyphen
12.432320677600773
ns/iter12.430925859617613
ns/iter1.00
Regex_Period_Md_Dollar
93.87024886846018
ns/iter95.51009216861975
ns/iter0.98
Regex_Caret_Slash_Period_Asterisk
6.527690958930233
ns/iter7.465658555769914
ns/iter0.87
Regex_Caret_Period_Range_Dollar
4.349436998871858
ns/iter4.352840797206475
ns/iter1.00
Regex_Nested_Backtrack
825.7030197705104
ns/iter836.6541237603781
ns/iter0.99
This comment was automatically generated by workflow using github-action-benchmark.