Jelajahi Sumber

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

Morten Brix Pedersen 25 tahun lalu
induk
melakukan
08ede4b72c
1 mengubah file dengan 12 tambahan dan 0 penghapusan
  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
+