| Homepage | https://kurtextrem.de |
| Homepage | https://kurtextrem.de |

Earlier this year, both major Web engines (WebKit/Safari and Chromium/Chrome/Edge/Brave) accelerated HTML parsing using SIMD instructions. These 'SIMD' instructions are special instructions that are present in all our processors that can process multiple bytes at once (e.g., 16 bytes). The problem that WebKit and Chromium solve is to jump to the next target character as … Continue reading Scan HTML even faster with SIMD instructions (C++ and C#)
@slightlyoff sounds like a good intro for a future PerfNow talk :D (I had to use AI to fully understand what the sentence means)
Anyway, looking forward to your css-in-js post!
@slightlyoff As for the API, naming is hard, but "postTask" implies to me it happens somewhen later. To make it more complex, what happens if:
- you do a postTask write inside the read phase?
- you do a postTask read inside write?
- you do a postTask write inside write?
which triggers now and which next frame?
motion has a parameter for that. But "post" implies anything would happen 'later', not now, so maybe window.frame/read is better (similar issue though re. the scheduling?)
@slightlyoff Pretty exciting proposal!
After working with motion for a while: https://motion.dev/docs/frame, I think the 3 phases make sense too. The concept is also "read"/"write", but "write" is split into "update" basically as "postRead" and then the real write in "render".
Integration via the reporting API is also interesting, but I think that might flood it when used on big sites. Maybe a PerformanceObserver would work better so you can filter before sending stuff?