Dany Castillo

Results 108 comments of Dany Castillo

Hey @emmgfx! 👋 Unfortunately no. Older browsers don't have some JS features which means that we need to ship some extra code to work around those missing features. [Currently tailwind-merge...

I expect that this issue is resolved and am closing it. Please let me know if I should reopen.

Nice to haves would be: - Compare at least `twMerge`, `twJoin` and `clsx` - Test scenario should be somewhat realistic with some repetition and many unique calls like on app...

Hey @larry-cedar! 👋 tailwind-merge computes a large data structure on the first call to `twMerge` which it caches for future calls which makes the first call probably 1000x slower than...

There's no way of making the first call faster at the moment unfortunately. You can check out some alternatives to tailwind-merge here: https://github.com/dcastil/tailwind-merge/blob/v1.13.2/docs/when-and-how-to-use-it.md#alternatives

Research: ### What I want - In every PR, post a comment with benchmark - Benchmark comment should include perf results of PR branch, base branch and their diff -...

Interesting article checking whether GitHub Action runners are good enough for benchmarking: https://labs.quansight.org/blog/2021/08/github-actions-benchmarks

@rortan134 created a benchmark in https://github.com/rortan134/tailwind-merge/blob/benchmark/tests/benchmark.bench.ts as part of https://github.com/dcastil/tailwind-merge/pull/445 which I could use. Full code: ```ts import { benchmarkSuite } from 'jest-bench' // v^29.7.1 import { createTailwindMerge, createTailwindMerge2 }...

@XantreDev that would be nice indeed! I didn't know of Codspeed and really like how they solve the problem with fluctuating performance on shared vCPUs. Feel free to submit a...

I just created an account on Codspeed and added the Codspeed token to the repository secrets. It should be possible to access it as `${{ secrets.CODSPEED_TOKEN }}` in a GitHub...