Last active
December 7, 2015 20:12
-
-
Save solnic/aa011661616c2645f3df to your computer and use it in GitHub Desktop.
ActiveModel/ActionController::Parameters vs Dry::Validation::Schema
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
Calculating ------------------------------------- | |
ActiveModel::Validations | |
134.000 i/100ms | |
dry-validation 2.145k i/100ms | |
------------------------------------------------- | |
ActiveModel::Validations | |
1.499k (±11.5%) i/s - 7.504k | |
dry-validation 22.300k (±10.5%) i/s - 111.540k | |
Comparison: | |
dry-validation: 22299.8 i/s | |
ActiveModel::Validations: 1498.9 i/s - 14.88x slower |
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
Calculating ------------------------------------- | |
ActionController::Paremeters | |
2.576k i/100ms | |
dry-validation 13.354k i/100ms | |
------------------------------------------------- | |
ActionController::Paremeters | |
25.577k (±19.1%) i/s - 123.648k | |
dry-validation 160.249k (±14.7%) i/s - 787.886k | |
Comparison: | |
dry-validation: 160249.3 i/s | |
ActionController::Paremeters: 25577.0 i/s - 6.27x slower |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment