Here's the /savebuf test:

Code:
alias bm9 {
  window -h @bm
  var %start = $ticks
  var %i = 0
  while (%i < 10000) {
    aline @bm %i
    inc %i 1
  }
  savebuf @bm bm.txt
  echo -a File handling benchmark took $calc(($ticks - %start) / 1000) seconds
  window -c @bm
}


After multiple tests, times range from 0.312 - 0.343 seconds.

Mpot, if you did this method, just remove the echo and rename the window name (if desired) and the filename (if desired) and the alias name (if desired).