« Previous | Next » 

Revision 8ae32a98

ID8ae32a98642fdb1cf9187c67fe0050129f6a5216
Parent 820aaf5b
Child 2f862752

Added by Ben Noordhuis almost 10 years ago

bench: fix buffers/buffer-base64-encode benchmark

The test is supposed to measure the performance of the base64 encoder
so move the Buffer#write() calls out of the benchmark section.

The overhead of the calls isn't terrible (about 1-3%) but having
unrelated activity in a micro-benchmark is never a good idea.

Signed-off-by: Trevor Norris <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences