Skip to content

Instantly share code, notes, and snippets.

@aduth
Created November 6, 2018 16:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aduth/59b0e1b793bebb779883b4f754a1d6d3 to your computer and use it in GitHub Desktop.
Save aduth/59b0e1b793bebb779883b4f754a1d6d3 to your computer and use it in GitHub Desktop.
@tannin/sprintf vs. sprintf-js
sprintf-js: hello %s! x 3,492,089 ops/sec ±0.35% (93 runs sampled)
@tannin/sprintf: hello %s! x 1,737,159 ops/sec ±0.38% (87 runs sampled)
sprintf-js: hello %s! x 1,432,140 ops/sec ±0.28% (89 runs sampled)
@tannin/sprintf: hello %s! x 1,764,430 ops/sec ±0.27% (93 runs sampled)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment