Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swanandx/regex_vs_onig
Comparing performance of regex crate vs onig crate!
https://github.com/swanandx/regex_vs_onig
Last synced: 21 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: 2024-11-04T12:46:07.778Z (2 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'
```![bench](https://user-images.githubusercontent.com/73115739/193082922-5e427906-886e-4545-bac3-5eca0d019b34.png)