Permalink
Browse files

add benchmark script

  • Loading branch information...
1 parent 3010741 commit b88cd04bd800771abf85194ea073617b55433f08 @ap committed Apr 20, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 bench
View
6 bench
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+s=startuptime.txt
+vim --startuptime $s -o -c qa "$@"
+perl -lane'$sum += $F[1] if m!/\.vim/after/syntax/css\.vim$!; END {print $sum}' $s
+rm $s

0 comments on commit b88cd04

Please sign in to comment.