date | tags | name | url | type | title | slides_url | recording_url | city | country | country_code | language | recognitions | image_header | images |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2022-06-06 |
post |
OpenJS World 2022 |
conference |
A Fastify tale of Shapes |
Austin, TX |
United States |
US |
English |
In my journey through nodeland, I went into the woods. After a nice stroll, I started seeing V8 shapes everywhere. They led into a dark cave and there was a new one every time I turned my head. My mind became megamorphic. What's a V8 shape? Why does it matter? Are there any problems if we created many? Could we reduce the overhead by keeping the shapes constants? This is the story of Fastify v4 on how I optimised the throughput by 10% by ensuring that all requests were created with the same shapes.