소스 검색

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

Morten Brix Pedersen 25 년 전
부모
커밋
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
+