Menu

1 / 2

Ng-News 26/24: OpenAPI Generator, slide.ng and Angular Compiler Benchmarks

DEV Community: frontend·ng-news·5 days ago
#61vCYvVN
#devtofrontend#devto#dev#angular#slide
Reading 0:00
15s threshold

OpenAPI Generator can now generate Angular httpResource methods, and slide.ng brings Markdown presentations to Angular. Also in this episode are the first benchmarks of Angular’s new compiler, TanStack Query, error boundaries, and ng-prism 22.7.

How Much Faster Is Angular’s New Compiler?

We’ve already covered the rewrite of Angular’s compiler, which uses Rust and Oxc. Now we finally have some numbers.

Cédric Exbrayat ran the new pipeline on three projects. His cold-build benchmarks were roughly two to three times faster. On the largest project, memory usage went from about 2.8 GB to 1.4 GB.

The TypeScript team reported about a tenfold speedup with its Go rewrite. Type checking is only one part of an Angular build, though. The other steps also contribute to the total, so speeding up TypeScript won’t give you the same speedup across the whole pipeline.

You can already try the new pipeline in Analog.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.