Introducing the new React Aria docs! ๐
All-new content and search experience. Interactive CSS and Tailwind examples to get you started quickly โ just install with shadcn. New guides and full example apps. MCP server and AI integrations.
Check it out! https://t.co/2LlQw8stZl
Believe it or not, the bottleneck on this benchmark for Parcel is not parser performance (SWC vs OXC), transformation, bundling, or anything in my control. 54% of the time is spent in the open() system call, just reading files. After about 4 threads, concurrent file reads stop getting faster on macOS.
Not only that, kernel profiling shows that most of the time is spent spin locked in the security sandbox, not in the actual file system. If my analysis is correct, for every file a process opens, macOS re-checks code signing attributes, searches every parent directory to see if the file is in an app bundle, and resolves endpoint security details even when no client is listening. I donโt have access to the source code, but it seems like this could be made significantly faster with some basic caching. It is really unfortunate that the operating system is limiting the full potential of the hardware performance.
If you work at Apple or know someone who does, I filed feedback FB25819275 with a simple reproduction and I would greatly appreciate if you could help me get it to the right place internally!
Btw btw, package managers should consider installing node_modules as packed archives (ie tar/zip files) rather than individual files. This would need support in Node and other tools, but it could significantly speed things up by reading entire packages at once. I got 30% faster overall build performance in a prototype I built.
btw, I'm not the first to come across this. Jarred reported something similar in Bun. Hoping we can draw some attention to it โ build tools for every language read a lot of files, so making this faster would benefit everyone! https://t.co/HL7GBYiDqZ
New React Aria release!
๐ง New ProgressList and Wizard components
๐ Editable Slider with NumberField slot
๐ Handle-only drag and drop in GridList, Table, and Tree
๐TreeItem description slot
๐ง Custom overlay focus restoration
๐ 70+ bug fixes and improvements
โจ React Aria just shipped Wizard and ProgressList.
Stepperize already runs the flow: steps, validation, branching, saved data.
Put them together and you get an accessible, fully typed multi-step form in ~100 lines ๐งต๐
New React Aria release!
๐ง New ProgressList and Wizard components
๐ Editable Slider with NumberField slot
๐ Handle-only drag and drop in GridList, Table, and Tree
๐TreeItem description slot
๐ง Custom overlay focus restoration
๐ 70+ bug fixes and improvements
New React Aria release!
๐ง New ProgressList and Wizard components
๐ Editable Slider with NumberField slot
๐ Handle-only drag and drop in GridList, Table, and Tree
๐TreeItem description slot
๐ง Custom overlay focus restoration
๐ 70+ bug fixes and improvements
ECMAScript excitement ๐
Congrats to @Eemeli_Aro@mozilla on advancing Import Text to Stage 4 at @TC39 today ๐
import text from "./path/to/file.txt" with { type: "text" }
It uses an import attribute for easy loading ๐
@jiahan_c Nice, I added that one too! Note that bundle size here is a bit misleading because it's the total size of all bundles, but some bundlers intentionally duplicate modules in order to reduce requests. Working on a better way to measure that.
@jiahan_c Nice, I added that one too! Note that bundle size here is a bit misleading because it's the total size of all bundles, but some bundlers intentionally duplicate modules in order to reduce requests. Working on a better way to measure that.
@martinlesko7274 They're not empty. This benchmark is using some real icon libraries from npm. But I get your point about it being synthetic. I'd love to find a real large open source app that can build across different bundlers.