Loading times... reloaded

Discuss and share scripts and script files...
Post Reply
Marco
Posts: 2347
Joined: 27 Jun 2011 15:20

Loading times... reloaded

Post by Marco »

Credit goes to amCharts for the template (https://www.amcharts.com/demos/pie-char ... theme-none @ https://www.amcharts.com/).

Just an eyecatching way to visualize XY loading times.

Remarks:
-it works best on high resolution screens (FullHD and above)
-the rendering part is slow (blame it on IE engine)
Attachments
Loading times... reloaded.xys
(424.25 KiB) Downloaded 131 times
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Loading times... reloaded

Post by TheQwerty »

Awesome work! :beer:
:appl:
Attachments
2016-03-09 121038.png
2016-03-09 121038.png (92.4 KiB) Viewed 3118 times

klownboy
Posts: 4140
Joined: 28 Feb 2012 19:27

Re: Loading times... reloaded

Post by klownboy »

Very nice and COLORFULL work! :appl:
My top 3 were:
Init Cust file Icons - 22.90 %
Start load - 13.55 %
Init Cust Toolbar Icons - 11.15 %
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: Loading times... reloaded

Post by bdeshi »

Very creative!

It looks better fullscreen.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Loading times... reloaded

Post by Filehero »

Hi Marco,

cool/great. I've saved it as

Code: Select all

PrettifyXYLoadingTimes
:D :beer: :tup: :appl:

q: can the listing be rendered sorted by time?

Cheers,
Filehero

PS: didn't know, that CFI take that much (relative) time to get initialized

highend
Posts: 13317
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Loading times... reloaded

Post by highend »

Sure you can sort them. But instead of hacking the javascript use xy scripting...

Add the last line to the code (I'm showing the previous line to know where it has to be placed):

Code: Select all

 $loadtimes = regexreplace("$loadtimes", ' ms - ', '|');
 $loadtimes = formatlist($loadtimes, "nr", "<crlf>");
To sort them from 0 to xxx, just use "n" and leave out the "r"...
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Loading times... reloaded

Post by admin »

Wow, didn't know that JS can do such things. And I love the 3D Donut, especially for breakfast. :tup:
Filehero wrote:PS: didn't know, that CFI take that much (relative) time to get initialized
That depends on the I in CFI, their number and location. And on the state of Windows. Timing under Windows is complex. The time something takes is always the time that Windows allows it to use. And this depends on lots of other things.

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: Loading times... reloaded

Post by bdeshi »

admin wrote:Wow, didn't know that JS can do such things.
:ninja: JS can do even more, much more, interesting stuff - problem is, XY's IE engine doesn't support most of them. :cry:
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Marco
Posts: 2347
Joined: 27 Jun 2011 15:20

Re: Loading times... reloaded

Post by Marco »

Thank you all!
This was almost a proof of concept for me. I mean, I would have loved to make a fancier waterfall chart like this one, http://demos.telerik.com/kendo-ui/water ... horizontal , but then no labels available. Hell, I even download Firefox source code to see what's inside its Network monitor (I love the charts there), but it's too complex for me...
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Loading times... reloaded

Post by TheQwerty »

Congrats on 2000, Marco! :appl: :beer:
2016-03-10 103251.png
2016-03-10 103251.png (1.96 KiB) Viewed 3055 times

highend
Posts: 13317
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Loading times... reloaded

Post by highend »

Congrats on 2000, Marco!
:appl: :!:
One of my scripts helped you out? Please donate via Paypal

Marco
Posts: 2347
Joined: 27 Jun 2011 15:20

Re: Loading times... reloaded

Post by Marco »

:beer: :beer: :beer:
This round's on me! :D
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Loading times... reloaded

Post by Filehero »

Hi highend,
highend wrote:Sure you can sort them.
I know. :whistle:

But time is limited... :whistle: :whistle:

starstuff
Posts: 29
Joined: 07 May 2015 15:30

Re: Loading times... reloaded

Post by starstuff »

Hi all!

Very great job Marco!
SammaySarkar wrote:JS can do even more, much more, interesting stuff - problem is, XY's IE engine doesn't support most of them.
Is it possible to replace the XY's IE engine to chrome or firefox engines? :?:

highend
Posts: 13317
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Loading times... reloaded

Post by highend »

Is it possible to replace the XY's IE engine to chrome or firefox engines?
You can always wrap up the code from the script in correct html and open it with the browser of your choice afterwards. No need to bloat XY's size by including other web engines :)
One of my scripts helped you out? Please donate via Paypal

Post Reply