Skip to content

Commit

Permalink
Bump JSON Toolkit to the latest version (#1)
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Cruz Viotti <[email protected]>
  • Loading branch information
jviotti authored Oct 15, 2024
1 parent cc8419d commit a39bf1e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DEPENDENCIES
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
vendorpull https://github.com/sourcemeta/vendorpull dea311b5bfb53b6926a4140267959ae334d3ecf4
noa https://github.com/sourcemeta/noa 837e1ff981f8df45d9e2977a50f5da61d8affed4
jsontoolkit https://github.com/sourcemeta/jsontoolkit b19c02084362aff20b2517b1b2cd0fe80acc2382
jsontoolkit https://github.com/sourcemeta/jsontoolkit 9685d29e2e633d71319c64b1ab2fbceab865dbf3
googletest https://github.com/google/googletest a7f443b80b105f940225332ed3c31f2790092f47
googlebenchmark https://github.com/google/benchmark 378fe693a1ef51500db21b11ff05a8018c5f0e55
jsonschema-test-suite https://github.com/json-schema-org/JSON-Schema-Test-Suite c2badb1298a8698f86dadf1aea7b44b3a894e5ac
7 changes: 7 additions & 0 deletions src/compiler/include/sourcemeta/blaze/compiler_error.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@

namespace sourcemeta::blaze {

// Exporting symbols that depends on the standard C++ library is considered
// safe.
// https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-2-c4275?view=msvc-170&redirectedfrom=MSDN
#if defined(_MSC_VER)
#pragma warning(disable : 4251 4275)
#endif

/// @ingroup jsonschema
/// An error that represents a schema compilation failure event
class SOURCEMETA_BLAZE_COMPILER_EXPORT SchemaCompilationError
Expand Down
4 changes: 2 additions & 2 deletions vendor/jsontoolkit/cmake/FindGoogleBenchmark.cmake

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 comments on commit a39bf1e

@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: a39bf1e Previous: cc8419d Ratio
Evaluator_2020_12_Dynamic_Ref 1941.826628718114 ns/iter 1926.2776731895606 ns/iter 1.01
Evaluator_Draft7_If_Then_Else 195.92932204902914 ns/iter 193.37085864125632 ns/iter 1.01
Evaluator_Draft6_Property_Names 1282.3689275718189 ns/iter 1317.6073823276274 ns/iter 0.97
Evaluator_Draft4_Meta_1_No_Callback 944.7065512461149 ns/iter 951.542453935729 ns/iter 0.99
Evaluator_Draft4_Required_Properties 1688.24797127394 ns/iter 1698.0357784855146 ns/iter 0.99
Evaluator_Draft4_Many_Optional_Properties_Minimal_Match 176.5626791722069 ns/iter 174.40555173412253 ns/iter 1.01
Evaluator_Draft4_Few_Optional_Properties_Minimal_Match 122.5804947118528 ns/iter 120.50863878561692 ns/iter 1.02
Evaluator_Draft4_Items_Schema 3498.0216939627708 ns/iter 3478.639871366774 ns/iter 1.01
Evaluator_Draft4_Nested_Object 24.51788386579254 ns/iter 24.182108883943272 ns/iter 1.01
Evaluator_Draft4_Properties_Triad_Optional 1706.658051964313 ns/iter 1721.8517984257594 ns/iter 0.99
Evaluator_Draft4_Properties_Triad_Closed 1428.0538652512507 ns/iter 1465.5060191716113 ns/iter 0.97
Evaluator_Draft4_Properties_Triad_Required 1806.2834985659413 ns/iter 1828.917378477354 ns/iter 0.99
Evaluator_Draft4_Non_Recursive_Ref 529.6041175181595 ns/iter 526.4730639718191 ns/iter 1.01
Evaluator_Draft4_Pattern_Properties_True 2302.190752510445 ns/iter 2365.9323979968403 ns/iter 0.97
Evaluator_Draft4_Ref_To_Single_Property 127.65475957902909 ns/iter 125.59924603548976 ns/iter 1.02
Evaluator_Draft4_Additional_Properties_Type 571.3440910169033 ns/iter 565.1652630870362 ns/iter 1.01
Evaluator_Draft4_Nested_Oneof 445.7147602950615 ns/iter 447.9826978645879 ns/iter 0.99
Compiler_Draft6_AdaptiveCard 5099375388.999988 ns/iter 5074741679.999989 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: a39bf1e Previous: cc8419d Ratio
Compiler_Draft6_AdaptiveCard 10453383100.00011 ns/iter 10598006100.000021 ns/iter 0.99
Evaluator_Draft4_Meta_1_No_Callback 2308.4314638036917 ns/iter 2302.379908057789 ns/iter 1.00
Evaluator_Draft4_Required_Properties 2007.5191155342106 ns/iter 1997.6196625218447 ns/iter 1.00
Evaluator_Draft4_Many_Optional_Properties_Minimal_Match 543.2509000002028 ns/iter 540.3152678571896 ns/iter 1.01
Evaluator_Draft4_Few_Optional_Properties_Minimal_Match 412.98718283273706 ns/iter 405.7241202801615 ns/iter 1.02
Evaluator_Draft4_Items_Schema 6651.550000000839 ns/iter 6699.936607142425 ns/iter 0.99
Evaluator_Draft4_Nested_Object 155.20406249999652 ns/iter 153.97375000004234 ns/iter 1.01
Evaluator_Draft4_Properties_Triad_Optional 5440.335999999206 ns/iter 5438.290178572304 ns/iter 1.00
Evaluator_Draft4_Properties_Triad_Closed 4495.9575000007135 ns/iter 4484.458224237869 ns/iter 1.00
Evaluator_Draft4_Properties_Triad_Required 5537.38100000146 ns/iter 5494.741964284344 ns/iter 1.01
Evaluator_Draft4_Non_Recursive_Ref 555.5010000000493 ns/iter 555.5683000000045 ns/iter 1.00
Evaluator_Draft4_Pattern_Properties_True 8351.628348212918 ns/iter 8217.99888392657 ns/iter 1.02
Evaluator_Draft4_Ref_To_Single_Property 411.0948030760594 ns/iter 405.949008662972 ns/iter 1.01
Evaluator_Draft4_Additional_Properties_Type 745.9688616072871 ns/iter 742.4290178571015 ns/iter 1.00
Evaluator_Draft4_Nested_Oneof 1102.2681250000942 ns/iter 1091.6507812499533 ns/iter 1.01
Evaluator_Draft6_Property_Names 1964.631835527084 ns/iter 1983.2177937699312 ns/iter 0.99
Evaluator_Draft7_If_Then_Else 569.0002000001186 ns/iter 558.1450000000083 ns/iter 1.02
Evaluator_2020_12_Dynamic_Ref 4744.092732349813 ns/iter 4800.570871045494 ns/iter 0.99

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

Please sign in to comment.