-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade syntect to v5, which makes assets loading 1.7x faster
``` $ hyperfine 'hgrep hgrep ./README.md' './target/release/hgrep hgrep ./README.md' Benchmark 1: hgrep hgrep ./README.md Time (mean ± σ): 72.3 ms ± 2.5 ms [User: 67.8 ms, System: 17.2 ms] Range (min … max): 70.7 ms … 85.4 ms 40 runs Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet PC without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options. Benchmark 2: ./target/release/hgrep hgrep ./README.md Time (mean ± σ): 42.3 ms ± 0.6 ms [User: 40.3 ms, System: 14.9 ms] Range (min … max): 41.3 ms … 44.6 ms 67 runs Summary './target/release/hgrep hgrep ./README.md' ran 1.71 ± 0.06 times faster than 'hgrep hgrep ./README.md' ```
- Loading branch information
Showing
8 changed files
with
64 additions
and
32 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Binary file not shown.
Binary file not shown.
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
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