CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 17:32:31 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/rhysd/hgrep.git
etag: W/"27d394341f8395f716bb3f60852878ff"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=RFFHMWUqQAgt07XQisgg3bFTd5tzsq1zOOhSkuCn6sftw6VXMX%2FeXTIsw4xEuNXHbYiDOoNU7zQEDFq%2BCXixZDXtSY%2BXIDrXsqNyhAv8O%2Bv8zKgno%2BhBUuwN99rD6ulcpMvbnFOM3QIoZysRbC%2FcTgrwAxwewq4%2B44reUhVPVfE0E2H4VrKLPp%2F%2BBaHOcuAbUEvxfEI8%2Bulhvl2ArS5BkL%2BQxlQ7v1ZGJ2W4TAOLb6a5LT5lZrb1oPOpYcHWRqQfWC9lvjts7Vmw1mnyNOiViw%3D%3D--5qmoTGSfBX7t%2Behk--q8uckk8lwHPyqc4LijN4YA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1527933186.1752946351; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 17:32:31 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 17:32:31 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E1CE:FD994:9B9998:C9647A:687BD6AF
upgrade syntect to v5, which makes assets loading 1.7x faster · rhysd/hgrep@c26db0f · GitHub
Copy file name to clipboard
Copy file name to clipboard
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit c26db0f
committed
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'
```1 parent f6917a2 commit c26db0fCopy full SHA for c26db0f
File tree
Expand file treeCollapse file tree
8 files changed
+64
-32
lines changedFilter options
- assets
- builder
- src
Expand file treeCollapse file tree
8 files changed
+64
-32
lines changed+24-4Lines changed: 24 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
64 |
| - | |
| 64 | + | |
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
|
assets/syntaxes.bin
Copy file name to clipboard168 KB
Binary file not shown.
assets/themes.bin
Copy file name to clipboard-14 Bytes
Binary file not shown.
+20-11Lines changed: 20 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
19 | 28 |
| |
20 | 29 |
| |
21 | 30 |
| |
22 | 31 |
| |
23 | 32 |
| |
24 | 33 |
| |
25 |
| - | |
26 |
| - | |
27 |
| - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
28 | 37 |
| |
29 | 38 |
| |
30 | 39 |
| |
31 | 40 |
| |
32 | 41 |
| |
33 |
| - | |
34 |
| - | |
35 |
| - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
36 | 45 |
| |
37 | 46 |
| |
38 | 47 |
| |
39 | 48 |
| |
40 | 49 |
| |
41 |
| - | |
42 |
| - | |
| 50 | + | |
| 51 | + | |
43 | 52 |
| |
44 | 53 |
| |
45 | 54 |
| |
|
+17-14Lines changed: 17 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 |
| - | |
| 32 | + | |
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 |
| - | |
| 72 | + | |
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
| |||
79 | 79 |
| |
80 | 80 |
| |
81 | 81 |
| |
82 |
| - | |
| 82 | + | |
83 | 83 |
| |
84 | 84 |
| |
85 | 85 |
| |
| |||
624 | 624 |
| |
625 | 625 |
| |
626 | 626 |
| |
627 |
| - | |
628 |
| - | |
| 627 | + | |
| 628 | + | |
629 | 629 |
| |
| 630 | + | |
630 | 631 |
| |
631 | 632 |
| |
632 |
| - | |
633 |
| - | |
634 |
| - | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
635 | 636 |
| |
636 | 637 |
| |
637 | 638 |
| |
638 | 639 |
| |
639 |
| - | |
| 640 | + | |
| 641 | + | |
640 | 642 |
| |
641 | 643 |
| |
642 | 644 |
| |
| |||
903 | 905 |
| |
904 | 906 |
| |
905 | 907 |
| |
906 |
| - | |
| 908 | + | |
907 | 909 |
| |
908 | 910 |
| |
909 | 911 |
| |
| |||
913 | 915 |
| |
914 | 916 |
| |
915 | 917 |
| |
916 |
| - | |
| 918 | + | |
917 | 919 |
| |
918 | 920 |
| |
919 | 921 |
| |
| |||
927 | 929 |
| |
928 | 930 |
| |
929 | 931 |
| |
930 |
| - | |
| 932 | + | |
931 | 933 |
| |
932 | 934 |
| |
933 | 935 |
| |
| |||
971 | 973 |
| |
972 | 974 |
| |
973 | 975 |
| |
974 |
| - | |
| 976 | + | |
975 | 977 |
| |
976 | 978 |
| |
977 |
| - | |
| 979 | + | |
| 980 | + | |
978 | 981 |
| |
979 | 982 |
| |
980 | 983 |
| |
|
You can’t perform that action at this time.
0 commit comments