francesco

Results 49 issues of francesco

### Command new ### Description This issue complete https://github.com/angular/angular-cli/issues/31888 (thanks to @alessiopelliccione ) for make new Angular 21 project ready to works with AI Creating a new Angular 21 application...

feature
area: @schematics/angular
feature: votes required

https://www.measurethat.net/Benchmarks/Show/2335/1/slice-vs-substr-vs-substring-with-no-end-index#latest_results_block ``` slice x 25,768,061 ops/sec ±10.38% (42 runs sampled) substr x 23,764,229 ops/sec ±8.05% (42 runs sampled) substring x 24,512,322 ops/sec ±10.47% (29 runs sampled) ```

_TL;TR: node-postgres/pg seems fast!_ I noticed that every node library into `TechEmpower/FrameworkBenchmarks` use postgres.js I've made a small benchmark to compare node-postgres/pg against others that claim to be the fastest:...

Hi, in the 1.X versione there is https://github.com/expressjs/body-parser/blob/1.x/lib/read.js#L45-L46 ```js // flag as parsed req._body = true ``` I have used this flag for exclude a specific route from body parsersing,...

question

https://github.com/TechEmpower/FrameworkBenchmarks is a poupular nodejs benchmark: > This project provides representative performance measures across a wide field of web application frameworks. I have noticied that most of the frameworks use...

https://v8.dev/blog/json-stringify Does it still make sense to use fast-json-stringify?

Just a small performance improvements when an object contains only one key or an array only one item Side note: the benchmark don't cover this case

> Monomorphic: If a property always gets the same class shape. It'a a good performance improvments on Array and Object, but not on primitive types ### Raw benchmark ``` Checking...

TLTR: the current benchmark is not reliable see https://github.com/fastify/fast-json-stringify/pull/801#issuecomment-3384792312 In this PR have migrated the current benchmark based on benchmark.js ([abbandoned](https://github.com/bestiejs/benchmark.js), last update 7 years ago) to [tinybench](https://github.com/tinylibs/tinybench). I have...