gcode-mirror / xdebugtoolkit

Automatically exported from code.google.com/p/xdebugtoolkit
0 stars 0 forks source link

Create an efficient tool for filtering slow cg files #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The idea is to make a tool named like cggrep or cgfilter to select some cg
files among many according to files' global statistics.

Some use cases can be expressed as:
1) select all cg that took more than 3 sec of total execution time.
2) select all cg that have path prefix of "/var/www/html/myproject"
3) etc...

These things can be roughly calculated by grep of course, but I would like
to have a more handy and more correct solution. Also it should respect cg
files structure and be very robust.

Original issue reported on code.google.com by Alexey.K...@gmail.com on 7 Jun 2009 at 9:42

GoogleCodeExporter commented 9 years ago

Original comment by Alexey.K...@gmail.com on 7 Jun 2009 at 9:42

GoogleCodeExporter commented 9 years ago
http://bugs.python.org/issue1677872
Some code from the patches can be reused for reverse file iteration.

Original comment by Alexey.K...@gmail.com on 7 Jun 2009 at 9:44