Composer, with a little Rust. 🦀⚡
Early benchmark on the Laravel framework repo:
• Composer 2: 7.504s
• Rust implementation: 3.553s
~2.1× faster by median install time.
Still experimental. More soon. 👀
#PHP#RustLang#Laravel
@andreisfedotov@zeddotdev Yeah and there is still room for more improvements🙂 i have an idea now will work it out soon will see if we could get it to ~0 queued events in a debug build.
Thats my goal😎
In @zeddotdev's next preview release processing FS events got a little speed up 😀.
Before a clean cargo build (~213.000 events) had a peak of ~67.000 queued FS events after some optimalisations it's only ~300.
Imagine running a release build👀.
The total dispatch wall time went from ~123.30s to ~16.84 s which is ~7.30× faster🤯
And this is all in a debug build to be clear, so get ready to feel instant within Zed when creating/removing many files.
https://t.co/3gWUweE3or
https://t.co/5eRlr61vqv
https://t.co/SapxQL1nwu
@VotrubaT@shoeboxdnb Oee i need this, for me it takes atleast 5minutes to run all the tests even though we run them parallel using paratest, but there is way to much overhead still.
What If I told you that I made it another ~2.4x faster :)
A composer install without scripts and plugins for laravel/framework now takes ~1.5 seconds.
./target/release/composer install --no-plugins --no-scripts 0.91s user 4.15s system 340% cpu 1.484 total
Composer, with a little Rust. 🦀⚡
Early benchmark on the Laravel framework repo:
• Composer 2: 7.504s
• Rust implementation: 3.553s
~2.1× faster by median install time.
Still experimental. More soon. 👀
#PHP#RustLang#Laravel
@VotrubaT What do you mean by 10 sec to process? Or do you mean that ecs takes around 10sec to process laravel framework code?
A `composer install` does not take 10 sec for me when I download latest ref of https://t.co/cs42sGeMBi
@VotrubaT Note: this was tested with `time composer install --ignore-platform-reqs --no-plugins --no-scripts --no-cache --no-interaction --no-progress` and a `composer clear-cache` before running the composer install.
Today we’re introducing Delta. Delta is a multiplayer environment for coding with agents and reviewing what they build, powered by DeltaDB.
The first invites to our private beta are going out now.
https://t.co/MDQMCyq1FP