Commit 021b245
committed
feat: add performance benchmark example and update dependencies
- Add benchmark.rs example that generates complex data 100,000 times
- Demonstrates combination of fake operators and JSONLogic expressions
- Updates fake dependency from 2.9 to 4.3 for improved features
- Updates rand from 0.8 to 0.9 and thiserror from 1.0 to 2.0
- Fixes deprecated rand API calls (thread_rng().gen() to rng().random())
- Benchmark shows ~18,000+ generations per second performance1 parent 1983ab3 commit 021b245
File tree
4 files changed
+446
-68
lines changed- examples
- src/operators
4 files changed
+446
-68
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments