Welcome Guest.   Make a donation to an author on the site October 31, 2014, 04:52:07 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Read the Practical Guide to DonationCoder.com Forum Search Features
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: NANY 2011 Release: Speed Monitor  (Read 14256 times)
NinJA999
Supporting Member
**
Posts: 79



see users location on a map View Profile Give some DonationCredits to this forum member
« on: December 20, 2010, 08:31:41 PM »

NANY 2011 Entry Information

Application Name Speed Monitor
Version 1.0
Short Description Continuously tracks the loading speed of websites with an adjustable check interval and averages from the last 10, 100, and 1000 tries.  Graphs the last 100 tries.  Idea from mouser's post.
Supported OSes Windows with .NET
Web Page Soon...
Download Link v1.0 - 86K EXE
OR
Download from Softpedia
OR
Download from Softoxi
System Requirements
  • .NET 4.0
  • Internet Access
Version History
  • v1.0 - Added drag-and-drop, clear data button, slower default interval, and quick hint
  • v0.9 - Charts added
  • v0.8 - First-time lag removed, URLs no longer require "http://", small other tweaks
  • v0.7 - Save/Load of URLs added
  • v0.6 - Basic functions running (with averaging)
  • v0.4 - Single data point acquisition added
  • v0.2 - Timers added
  • v0.1 - Basic UI
Author NinJA999 (Nick Aldwin)


Description
Continuously tracks the loading speed of websites with an adjustable check interval and averages from the last 10, 100, and 1000 tries.  Graphs the last 100 tries.
Idea from mouser's post:
Here's a new NANY idea/request:

URL Speed Tracker:

Idea: A utility meant to continuously track the speeds of opening certain web pages/downloading files.

Motivation: It can be important, especially when setting up a new server, to be able to watch the speed and watch for any failures of pages to load.  This program will continuously grab pages and track speeds over time to let you know the health of a server.

  • The main interface should be a grid where you can add new urls (of pages or files).
  • Then a set of columns for running speed averages, averaged over longer windows (i can elaborate later).
  • A button to toggle on/off fetching.

Options:
  • 1. how often it should recheck urls
  • 2. it should save/load the last set of urls.

With regard to tracking over longer averages:
  • A really deluxe version would be able to plot the speeds over time of a given url.
  • But short of that, what one wants is some indication of avg speed over different time windows.  So for example it would be nice to know last speed (avg over 1 try), and then over maybe the last 10 tries, then over last 100, over last 1000, etc (the last value would give you a true baseline).
  • Rather than keeping track of every download speed (needed if you want to graph), a simple heuristic solution to these would be to keep track of, for each url, a decaying average with a different decay rate.  ie DisplayValue = DisplayValue*Decay + NewValue  where Decay is from 0 to 1, and the lower the value the shorter the time window for averaging.

I could really use such a thing.. any takers?  if not i may code it.

Bonus:
I can see how this would be useful for cross-platform environment, and specifically if it could be run continuously in commandline mode on a linux server.  But for me right now a windows-only version would be fine.


Features
Multiple websites
Minimizes to tray
Editable frequency
Last 1/10/100/1000 averages
Enable/disable switch
If a website is unreachable, time turns red (and reads -1)
Automatic saving/loading of URLs
Charts of the last 100 measured times
Drag-and-drop for URLs
Easy data reset

Planned Features
Timeline on charts
Better operation (less memory-intensive, etc.)

Screenshots



Usage
Installation
Run the EXE

Using the Application
From Help->Explain This!

Use this tool to monitor the average length of time it takes to load a webpage or file.

Enter a URL into a row, then click "Enable Fetching" to start gathering data.

The last duration (in milliseconds) will appear in the "Last (ms)" column, the average duration over the last 10 tries will appear in the "Last 10" column, and so on.

Click the "Chart" button to see a line graph of the last 100 measured times.

You can change the frequency of tries (in seconds) by editing the value in the "Frequency" text box and clicking "Set".

Each time you add a new URL, a new blank row will appear.

To delete a row, select it and press the [DELETE] button on your keyboard.

You can also add a URL to the list by dragging it and dropping it onto the list.

To clear all time data for the URLs, click "Clear Data".

If you minimize the program, it will disappear to the small icon in the system tray.  Double click the icon to restore the window.

URLs are persisted between program runs.


Uninstallation
Delete the EXE and the smu file.

Known Issues
Initial time always seems to be too high.  Fixed!  It was a silly .NET bug.

NOTE to those experiencing warnings from their security software:
There is no malicious code in this program.  It may be flagged due to its high amount of network traffic; this high level of traffic is due to the nature of the program.

This program has been rated 100% clean by Softpedia.


It has also been verified as clean from any malware by Softoxi.
« Last Edit: January 05, 2011, 12:35:12 PM by NinJA999 » Logged
mouser
First Author
Administrator
*****
Posts: 33,611



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: December 20, 2010, 08:48:57 PM »

I'm thrilled someone decided to code this!  thumbs up
I stand ready to do beta testing, just ask.
Logged
NinJA999
Supporting Member
**
Posts: 79



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #2 on: December 20, 2010, 09:30:00 PM »

I'm thrilled someone decided to code this!  thumbs up
I stand ready to do beta testing, just ask.

Don't stand ready to be impressed; it's still more a jumble of parts than a smooth-running machine.  I'll send a version over soon.
Logged
NinJA999
Supporting Member
**
Posts: 79



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #3 on: December 23, 2010, 01:35:45 PM »

I've added a link so anyone who wants to give it a test can download it.  I'd appreciate any feedback.
Logged
mouser
First Author
Administrator
*****
Posts: 33,611



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: December 23, 2010, 01:38:31 PM »

looking good!!  Thmbsup
Logged
skwire
Global Moderator
*****
Posts: 4,119



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #5 on: December 23, 2010, 02:50:26 PM »

Agreed.  The GUI looks great.  No more and no less than what is necessary.   thumbs up
Logged

NinJA999
Supporting Member
**
Posts: 79



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #6 on: December 23, 2010, 06:01:16 PM »

Great, thanks!  Let me know if there is anything that does need improvement, though.
Logged
kyrathaba
N.A.N.Y. Organizer
Honorary Member
**
Posts: 3,013



while(! dead_horse){beat}

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #7 on: December 23, 2010, 07:20:50 PM »

Very nice, NinJA999!! Thmbsup
Logged

Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 26.0
_________________________________________________________________________________________

I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF

My DC page: http://kyrathaba.dcmembers.com | My blog: http://williambryanmiller.com/ | Proofreading Service: http://bit.ly/1fQSqQP

NinJA999
Supporting Member
**
Posts: 79



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #8 on: December 23, 2010, 11:49:20 PM »

I've added charts; I hope the addition doesn't clutter the interface too much.  Let me know what you think!
Logged
hegearon
Member
**
Posts: 12



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #9 on: December 24, 2010, 03:46:45 AM »

Hi,
it's looking good. However my antivirus (Norton 360 4.0) detects it as "A program was behaving suspiciously on your computer." Keep up with the good work. smiley
Logged
NinJA999
Supporting Member
**
Posts: 79



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #10 on: December 24, 2010, 01:21:36 PM »

That might be because it's making a bunch of web requests.  It's not doing anything nasty.  Just like Windows Firewall says programs like Skype are suspicious when they try to use extra ports.
Logged
NinJA999
Supporting Member
**
Posts: 79



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #11 on: December 31, 2010, 06:08:38 PM »

Alrighty, since nobody has offered any more suggestions, I guess I'm going to release it at 0.9 smiley  Happy New Year!
Logged
Ath
Supporting Member
**
Posts: 2,240



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #12 on: January 01, 2011, 06:00:33 AM »

Hm, missed this pledge and it's interim releases, just found out now you've released, sorry.

Seems to work alright, but a few 'nice to have's':
- For a newby user it's a but confusing how to add a new url, some hint or menuitem would come in handy
- Drag and drop for url's would be nice
- Can the captured data be reset in some way, without losing all url's
- The initial interval is quite aggressive, a bit more conservative, like 60 sec., would probably back-off the malware scanners' warnings
- I like charts, but they really miss a time-line
Logged

NinJA999
Supporting Member
**
Posts: 79



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #13 on: January 01, 2011, 12:59:16 PM »

Those are some good suggestions.  I'll work on adding them over the next week.  Thanks!  smiley
Logged
NinJA999
Supporting Member
**
Posts: 79



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #14 on: January 02, 2011, 06:45:12 PM »

Alrighty, I added most of your feature requests for v1.0!  The only one I didn't implement was the timeline on the charts, as that requires both a small data restructuring and a larger URL for Google Charts -- which I have to make sure can handle it.

Thanks for the suggestions; keep 'em coming!  smiley
Logged
mouser
First Author
Administrator
*****
Posts: 33,611



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #15 on: January 03, 2011, 01:51:52 PM »

Looks like speed monitor was written up on ghacks today  Thmbsup
http://www.ghacks.net/201...ed-of-websites-over-time/
Logged
NinJA999
Supporting Member
**
Posts: 79



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #16 on: January 03, 2011, 03:44:44 PM »

Sweet, thanks for pointing it out!
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.052s | Server load: 0.08 ]