Continuing to play with building the fastest possible code counter. Actually getting performance CLOSE to what ripgrep gets which is impressive since I am processing every byte. ~5 seconds to process the Linux kernel.
-
-
“rg a .” To force it to work harder. Running using hyper fine with 3 warmup runs and 10 runs so not measuring disk io. What’s slowing it down is I’m using WSL which is know to have disk speed issues.
-
Oh I see! Yeah that's much more believable. Try `rg '^.+$'` to make it work even harder. ;-) (It runs in just under a second on my machine, but that's an order of magnitude slower than a simple `rg PM_RESUME` for example.)
- 12 more replies
New conversation -
-
-
(A possible explanation is that you're measuring I/O speed.)
-
I promise I am not measuring disk io. I wait till it’s all loaded I do the disk cache before paying attention to the results. Rip grip is still the fastest one that runs btw.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.