Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
foxtacles authored Feb 23, 2018
1 parent 95e02d9 commit c4ec694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ rj_schema (validate) | 38.1 | 3.75x slower
[json-schema](https://github.com/ruby-json-schema/json-schema) | 8.6 | 16.66x slower
[json_schema](https://github.com/brandur/json_schema) | 3.2 | 44.07x slower

The error reporting of `rj_schema` is implemented inefficiently at the time of writing, so in this benchmark environment (based on JSON Schema test suite which includes many failing validations) `validate` performs significantly worse than `valid?`. This may not be an issue in production environments though, where failing validations are usually the exception.
The error reporting of `rj_schema` is implemented inefficiently at the time of writing, so in this benchmark environment (based on JSON Schema test suite which includes many failing validations) `validate` performs significantly worse than `valid?`. This may not be an issue in production environments though, where failing validations are usually the exception (the overhead is only incurred in case of an error).

0 comments on commit c4ec694

Please sign in to comment.