Closed aralroca closed 1 week ago
``` bun add https://pkg.pr.new/brisa-build/brisa/brisa-adapter-vercel@626 ```
``` bun add https://pkg.pr.new/brisa-build/brisa@626 ```
``` bun add https://pkg.pr.new/brisa-build/brisa/brisa-tailwindcss@626 ```
``` bun add https://pkg.pr.new/brisa-build/brisa/brisa-pandacss@626 ```
``` bun add https://pkg.pr.new/brisa-build/brisa/create-brisa@626 ```
``` bun add https://pkg.pr.new/brisa-build/brisa/www@626 ```
commit: ea99c0a
Related to https://github.com/brisa-build/brisa/issues/618
As we have discussed in this issue, we did a bad micro-optimization. The
documentFragment
does not go faster, besides it occupies more code.By changing the implementation we reduced 100 bytes of client code and this operation goes from 12K ops/sec to 13k ops/sec (+1k). After this change, all current tests continue to pass the same.
Before:
Now:
https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment#performance
I assigned this PR to the issue because the idea was introduced here, although this does not fix the issue, it remains pending in the branch where I have the failing test of the issue. At least now we know it wasn't because of the documentFragment and there is something else to investigate.