Просмотр исходного кода

Small developer script for benchmarking speed - read the comments in the
script

Morten Brix Pedersen 25 лет назад
Родитель
Сommit
08ede4b72c
1 измененных файлов с 12 добавлено и 0 удалено
  1. 12 0
      speedtest.sh

+ 12 - 0
speedtest.sh

@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# This is a small, but very useful script for finding out where to speedup a
+# Perl program, it will generate a fine statistics on which functions used
+# the most time, and how many calls which were made to it.
+#
+# I hope someone will use this and hopefully make pisg a bit faster :)
+
+perl -d:DProf pisg.pl
+
+dprofpp -u
+