BBCode Link
[url=http://www.purearea.net/pb/showcase/show.php?id=279&d=1] [b]Analyzer v.2.1[/b][/url]
supports PB4, for PB 3.94 you can use this version:
http://mypage.bluewin.ch/remimeier/zip/analyzer394.zip
Bugfix: UTF-8 files reading
Take a look at the help file!
So what?s its purpose?
It?s an IDE plug-in that modifys the PB file compiled with Compile/Run so
that (nearly) every line is tested for its runtime! After you quit your program
there will be an analysis.txt in the source directory which shows you the
time critical lines of code in your code
There will be interesting results like:
Code:
Line 71: Time 10918 StartDrawing(ScreenOutput())
Line 38: Time 3951 OpenScreen(#SCREEN_WIDTH, #SCREEN_HEIGHT,32,Test)
Line 1: Time 127 InitSprite()
Line 27: Time 76 DisplayTransparentSprite(2,newposx,#Posy)
Line 85: Time 75 Kraftaufwand()
Line 74: Time 54 DrawText(Kraft + a$)
Line 69: Time 46 ClearScreen(125, 125, 125)
Line 88: Time 30 DisplayTransparentSprite(2,#Posx,#Posy)
Line 89: Time 11 DisplayTransparentSprite(1,MouseX(),MouseY())
Line 68: Time 11 FlipBuffers()
So you can concentrate on the real bottlenecks of your program and don?t
waste your awfully important time in senseless optimizations.
There are some other possibilities of measure the time with special kinds
of comments, read the help file ;)
So have fun and make some great and fast programs!
Source included!
|
|
[416 KB] (2961 Downloads)
The source is included in the program package
|