
Software engineer @github • core team member https://xitter.cf/t.co/EVvYmmTXSc • opinions are all mine • married to @miranda_auhl • ✝️ • he/him https://xitter.cf/t.co/QFkQwwdcyu
State College, PA
Joined March 2010
- Tweets287
- Following233
- Followers227
- Likes812
I am now a core member of the oxc.rs team! github.com/oxc-project
Thanks to @boshen_c for being welcoming to new contributors like myself and creating a great tool.
Cam McHenry retweeted
We also teach how to profile with detailed instructions.
@cammchenry just added a section on how to get CPU cache misses with Mac instruments.
oxc.rs/docs/contribute/profi…
It was all worth it in the end, this PR should make oxlint much speedier.
Replying to @cammchenry
@cammchenry is pulling his hair with L1 Cache
PR: github.com/oxc-project/oxc/p…
1
6
505
This was the result: xitter.cf/cammchenry/status/1848…
This optimization gets better with more rules and plugins: linting the VS Code repository on my M1 laptop with ALL plugins and 430 rules enabled is 1.45x faster and shaves off around 1 second of time. This pretty much best case scenario though: it's more typically 10-20% better.
117
This optimization gets better with more rules and plugins: linting the VS Code repository on my M1 laptop with ALL plugins and 430 rules enabled is 1.45x faster and shaves off around 1 second of time. This pretty much best case scenario though: it's more typically 10-20% better.
Small file optimization: linting the vscode repo is 1.33x faster than the previous version, by @cammchenry
Source: github.com/oxc-project/oxc/p…
Oxlint is now up to 6% faster when linting the VS Code repository with the Jest plugin (and up to 4% faster with them disabled)
It's amazing how cache locality can change performance. I updated some code in oxlint to use an iterator and only iterate once, versus three times, and it made the code up to 30-38% faster:
github.com/oxc-project/oxc/p…
1
7
789
Copilot has been great for coding with one hand. I can hold my 4 week daughter with one hand, and I can type a few letters with my other hand and it usually saves me a ton of keystrokes.
Cam McHenry retweeted
Announcing alpha release for Oxc's JavaScript transformer.
* Transform TypeScript & JSX to ESNext.
* Built-in React Refresh.
* TypeScript Isolated Declarations DTS Emit.
* Faster, less memory and smaller package size than previous solutions.
oxc.rs/blog/2024-09-29-trans…
You should come and help contribute to oxlint! There is a lot of work to do :) github.com/oxc-project/oxc
@boshen_c is also doing amazing work with Oxc, you should consider sponsoring: github.com/sponsors/Boshen
Replying to @cammchenry
@cammchenry migrated all oxlint's regular expression rules to AST visits.
Look how simple and clean this is.
PR: github.com/oxc-project/oxc/p…
Cam McHenry retweeted
Replying to @cammchenry
@cammchenry migrated all oxlint's regular expression rules to AST visits.
Look how simple and clean this is.
PR: github.com/oxc-project/oxc/p…
Coming back to @rustlang after several years, and everything has improved so much. Things are faster, so many more APIs, and it feels easier to get things to compile.
1
2
106
Also, memory safety aside, I would use Rust just for the ecosystem and tooling: cargo, regex, doctests, docs.rs, criterion, etc.
1
50
Wrote up a little post on some practical tips for writing more accessible tests in Playwright: camchenry.com/blog/how-i-wri…
1
70
TIL: How to test for accessible descriptions using the new `toHaveAccessibleDescription` assertion in @playwrightweb 🙌
camchenry.com/blog/how-to-te…
1
59
I've been thinking about the idea "mini-skills" recently: things you can learn quickly and use right away. What are some of your favorite mini-skills?
camchenry.com/blog/mini-skil…
1
64










