Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update benchmark results in the readme #37

Open
sindresorhus opened this issue Nov 10, 2019 · 1 comment
Open

Update benchmark results in the readme #37

sindresorhus opened this issue Nov 10, 2019 · 1 comment

Comments

@sindresorhus
Copy link

We just released Chalk 3 with some large performance improvements. This is what I'm seeing with Chalk 3 and Node.js 12:

~/Downloads/ansi-colors/bench master*
❯ node index

# All Colors
  ansi-colors x 150,257 ops/sec ±0.95% (90 runs sampled)
  chalk x 490,982 ops/sec ±0.48% (94 runs sampled)

# Chained colors
  ansi-colors x 20,122 ops/sec ±0.55% (92 runs sampled)
  chalk x 412,857 ops/sec ±1.12% (92 runs sampled)

# Nested colors
  ansi-colors x 52,308 ops/sec ±0.49% (91 runs sampled)
  chalk x 93,588 ops/sec ±0.26% (92 runs sampled)

Would be great if you could re-run the benchmark on your machine and update the readme.

@doowb
Copy link
Owner

doowb commented Nov 14, 2019

Thanks for the issue and congrats on those performance improvements!

We've been working on some changes here and we'll make sure to update the benchmarks when we push those up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants