https://github.com/swanandx/regex_vs_onig
Comparing performance of regex crate vs onig crate!
https://github.com/swanandx/regex_vs_onig
Last synced: 4 days ago
JSON representation
Comparing performance of regex crate vs onig crate!
- Host: GitHub
- URL: https://github.com/swanandx/regex_vs_onig
- Owner: swanandx
- Created: 2022-09-29T15:56:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-29T16:15:31.000Z (over 2 years ago)
- Last Synced: 2025-02-14T07:17:19.968Z (4 months ago)
- Language: Rust
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# regex_vs_onig
Using [hyperfine](https://github.com/sharkdp/hyperfine) for benchmarking after building binaries in release mode.
```bash
hyperfine --prepare 'sync; echo 3 | sudo tee /proc/sys/vm/drop_caches' './use_regex https://google.com' './use_onig https://google.com'
```