-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: stringify and get to handle WeakPointer (#1182)
Signed-off-by: Tony Gorez <[email protected]>
- Loading branch information
Showing
4 changed files
with
175 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
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
fda77d5
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)
JSONSchema_Validate_Draft4_Meta_1_No_Callback
946.2983590565789
ns/iter926.8533505824306
ns/iter1.02
JSONSchema_Validate_Draft4_Required_Properties
1053.8330404878843
ns/iter1015.2996646040832
ns/iter1.04
JSONSchema_Validate_Draft4_Optional_Properties_Minimal_Match
162.3428657042456
ns/iter159.28553194147304
ns/iter1.02
JSONSchema_Validate_Draft4_Items_Schema
2578.0519411539376
ns/iter2484.2464179056924
ns/iter1.04
JSONSchema_Validate_Draft4_Nested_Object
1574.376492774743
ns/iter1516.95803082549
ns/iter1.04
JSONSchema_Validate_Draft4_Properties_Triad_Optional
1366.983463271941
ns/iter1348.7273784267347
ns/iter1.01
JSONSchema_Validate_Draft4_Properties_Triad_Closed
1090.1006813510512
ns/iter1044.906373190601
ns/iter1.04
JSONSchema_Validate_Draft4_Properties_Triad_Required
1410.4085780089515
ns/iter1373.9052232750503
ns/iter1.03
JSONSchema_Validate_Draft4_Non_Recursive_Ref
1895.2274124462515
ns/iter1820.834839175849
ns/iter1.04
This comment was automatically generated by workflow using github-action-benchmark.
fda77d5
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)
JSONSchema_Validate_Draft4_Meta_1_No_Callback
17337.484464269237
ns/iter17502.48420420854
ns/iter0.99
JSONSchema_Validate_Draft4_Required_Properties
7552.913341107614
ns/iter7462.33826519149
ns/iter1.01
JSONSchema_Validate_Draft4_Optional_Properties_Minimal_Match
1743.2160688361962
ns/iter1761.268144933186
ns/iter0.99
JSONSchema_Validate_Draft4_Items_Schema
104045.1590977024
ns/iter105420.46226555988
ns/iter0.99
JSONSchema_Validate_Draft4_Nested_Object
49987.70851185271
ns/iter49389.85287681212
ns/iter1.01
JSONSchema_Validate_Draft4_Properties_Triad_Optional
8468.387012516332
ns/iter8564.221622737954
ns/iter0.99
JSONSchema_Validate_Draft4_Properties_Triad_Closed
7885.860008098334
ns/iter7957.354108036014
ns/iter0.99
JSONSchema_Validate_Draft4_Properties_Triad_Required
8688.107630572824
ns/iter8738.727052264241
ns/iter0.99
JSONSchema_Validate_Draft4_Non_Recursive_Ref
79665.2279328284
ns/iter79823.30895419774
ns/iter1.00
This comment was automatically generated by workflow using github-action-benchmark.
fda77d5
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)
JSONSchema_Validate_Draft4_Meta_1_No_Callback
1642.9057759333236
ns/iter1655.9805021266327
ns/iter0.99
JSONSchema_Validate_Draft4_Required_Properties
2821.2760713071884
ns/iter2850.3504319852027
ns/iter0.99
JSONSchema_Validate_Draft4_Optional_Properties_Minimal_Match
230.48849393806165
ns/iter230.39985174911877
ns/iter1.00
JSONSchema_Validate_Draft4_Items_Schema
5345.464987336565
ns/iter5325.891787403074
ns/iter1.00
JSONSchema_Validate_Draft4_Nested_Object
3585.561381761883
ns/iter3530.890411654723
ns/iter1.02
JSONSchema_Validate_Draft4_Properties_Triad_Optional
2000.9434955505915
ns/iter1973.9151811597148
ns/iter1.01
JSONSchema_Validate_Draft4_Properties_Triad_Closed
1704.5788233495168
ns/iter1653.8559574946153
ns/iter1.03
JSONSchema_Validate_Draft4_Properties_Triad_Required
2123.9767711893815
ns/iter2088.0107960321225
ns/iter1.02
JSONSchema_Validate_Draft4_Non_Recursive_Ref
4004.0982447053316
ns/iter3978.9020367470953
ns/iter1.01
This comment was automatically generated by workflow using github-action-benchmark.
fda77d5
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)
JSONSchema_Validate_Draft4_Meta_1_No_Callback
3579.460750962788
ns/iter3652.7730859467797
ns/iter0.98
JSONSchema_Validate_Draft4_Required_Properties
2128.6956250001767
ns/iter2112.004120540474
ns/iter1.01
JSONSchema_Validate_Draft4_Optional_Properties_Minimal_Match
643.3550223212998
ns/iter658.6141964285324
ns/iter0.98
JSONSchema_Validate_Draft4_Items_Schema
12484.251785715676
ns/iter12800.808928570208
ns/iter0.98
JSONSchema_Validate_Draft4_Nested_Object
9147.319431609942
ns/iter9038.76545194052
ns/iter1.01
JSONSchema_Validate_Draft4_Properties_Triad_Optional
5976.888392857356
ns/iter5977.01785714325
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Closed
4956.316964286397
ns/iter4944.520999999895
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Required
6013.281249999685
ns/iter6045.105999999123
ns/iter0.99
JSONSchema_Validate_Draft4_Non_Recursive_Ref
8436.164062499378
ns/iter8423.595982142628
ns/iter1.00
This comment was automatically generated by workflow using github-action-benchmark.
fda77d5
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)
JSONSchema_Validate_Draft4_Meta_1_No_Callback
949.8498906004144
ns/iter926.8533505824306
ns/iter1.02
JSONSchema_Validate_Draft4_Required_Properties
1027.0060899092912
ns/iter1015.2996646040832
ns/iter1.01
JSONSchema_Validate_Draft4_Optional_Properties_Minimal_Match
160.36908089293505
ns/iter159.28553194147304
ns/iter1.01
JSONSchema_Validate_Draft4_Items_Schema
2469.48131284882
ns/iter2484.2464179056924
ns/iter0.99
JSONSchema_Validate_Draft4_Nested_Object
1522.7189616700107
ns/iter1516.95803082549
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Optional
1367.0033442883616
ns/iter1348.7273784267347
ns/iter1.01
JSONSchema_Validate_Draft4_Properties_Triad_Closed
1057.8784598938598
ns/iter1044.906373190601
ns/iter1.01
JSONSchema_Validate_Draft4_Properties_Triad_Required
1391.7482378169502
ns/iter1373.9052232750503
ns/iter1.01
JSONSchema_Validate_Draft4_Non_Recursive_Ref
1863.0897346602292
ns/iter1820.834839175849
ns/iter1.02
This comment was automatically generated by workflow using github-action-benchmark.
fda77d5
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)
JSONSchema_Validate_Draft4_Meta_1_No_Callback
17497.620715593188
ns/iter17502.48420420854
ns/iter1.00
JSONSchema_Validate_Draft4_Required_Properties
7566.318307481071
ns/iter7462.33826519149
ns/iter1.01
JSONSchema_Validate_Draft4_Optional_Properties_Minimal_Match
1743.5271129621674
ns/iter1761.268144933186
ns/iter0.99
JSONSchema_Validate_Draft4_Items_Schema
105505.21350172965
ns/iter105420.46226555988
ns/iter1.00
JSONSchema_Validate_Draft4_Nested_Object
49841.54288762127
ns/iter49389.85287681212
ns/iter1.01
JSONSchema_Validate_Draft4_Properties_Triad_Optional
8550.29814081089
ns/iter8564.221622737954
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Closed
7927.9046981387355
ns/iter7957.354108036014
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Required
8734.46924163073
ns/iter8738.727052264241
ns/iter1.00
JSONSchema_Validate_Draft4_Non_Recursive_Ref
80221.74138728467
ns/iter79823.30895419774
ns/iter1.00
This comment was automatically generated by workflow using github-action-benchmark.
fda77d5
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)
JSONSchema_Validate_Draft4_Meta_1_No_Callback
1669.642215631809
ns/iter1655.9805021266327
ns/iter1.01
JSONSchema_Validate_Draft4_Required_Properties
2839.4370664224584
ns/iter2850.3504319852027
ns/iter1.00
JSONSchema_Validate_Draft4_Optional_Properties_Minimal_Match
231.7675867294391
ns/iter230.39985174911877
ns/iter1.01
JSONSchema_Validate_Draft4_Items_Schema
5313.6848810593265
ns/iter5325.891787403074
ns/iter1.00
JSONSchema_Validate_Draft4_Nested_Object
3622.82657783201
ns/iter3530.890411654723
ns/iter1.03
JSONSchema_Validate_Draft4_Properties_Triad_Optional
2006.6393028000487
ns/iter1973.9151811597148
ns/iter1.02
JSONSchema_Validate_Draft4_Properties_Triad_Closed
1648.8193702850047
ns/iter1653.8559574946153
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Required
2097.4987104037714
ns/iter2088.0107960321225
ns/iter1.00
JSONSchema_Validate_Draft4_Non_Recursive_Ref
4063.8544110567063
ns/iter3978.9020367470953
ns/iter1.02
This comment was automatically generated by workflow using github-action-benchmark.
fda77d5
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)
JSONSchema_Validate_Draft4_Meta_1_No_Callback
3659.835428865092
ns/iter3652.7730859467797
ns/iter1.00
JSONSchema_Validate_Draft4_Required_Properties
2104.9194028119027
ns/iter2112.004120540474
ns/iter1.00
JSONSchema_Validate_Draft4_Optional_Properties_Minimal_Match
662.265513392768
ns/iter658.6141964285324
ns/iter1.01
JSONSchema_Validate_Draft4_Items_Schema
13012.963558197627
ns/iter12800.808928570208
ns/iter1.02
JSONSchema_Validate_Draft4_Nested_Object
9067.17693224746
ns/iter9038.76545194052
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Optional
6129.724107142108
ns/iter5977.01785714325
ns/iter1.03
JSONSchema_Validate_Draft4_Properties_Triad_Closed
5058.164000001852
ns/iter4944.520999999895
ns/iter1.02
JSONSchema_Validate_Draft4_Properties_Triad_Required
6114.036607142128
ns/iter6045.105999999123
ns/iter1.01
JSONSchema_Validate_Draft4_Non_Recursive_Ref
8419.865536312802
ns/iter8423.595982142628
ns/iter1.00
This comment was automatically generated by workflow using github-action-benchmark.