Page 1 of 1

Science Project

Posted: Fri Sep 06, 2002 3:25 pm
by hob_goblin
For school I have to do a science project, for a 'science' fair. It must be in written report form though. It also can relate to computers.

Im thinking that I could either

a) write one program in many different languages, test how fast it is

b) wite many programs in two languages (probably php/asp ...) and see which is faster

some kid last year tried two programs on two different computers and determined which chip was faster, he got 200 dollars and won. im thinking i could probably do something alot better.

Does anybody know how I could gauge the speed of the outputted page? Any comments? Input? Ideas?

Posted: Fri Sep 06, 2002 5:06 pm
by phice
Just make sure PHP looks better then ASP on your project.. ;)

Posted: Fri Sep 06, 2002 5:59 pm
by jason

Posted: Fri Sep 06, 2002 6:01 pm
by jason

Posted: Fri Sep 06, 2002 6:31 pm
by m3mn0n
was there too many potato-light bulb projects or somthing? :lol:

heh, i know there is a clockin code out there, it is at the bottom of some of
the phpBB pages...

maybe if you did some investigative work there, or try a google search on "php" + " script clocking" and "asp" + " script clocking"

8)

Posted: Sat Sep 07, 2002 12:33 pm
by hob_goblin
the script clocking you see at the bottom of php pages is actually php itself, it just records the microtime and does some subtraction..

is there some way to record how fast the browser recieves the page?

Posted: Sat Sep 07, 2002 2:38 pm
by Takuma
I don't think so...
You might be able to make your own browser and mesaure it.

Posted: Sat Sep 07, 2002 9:49 pm
by volka
If you are able to get a copy of VisualBasic this can be easily done for IE.
(can be done in other ways, too - of course)
Embed a webbrowser-Control and register the event-sinks for
BeforeNavigate2 of DownloadBegin and
DocumentComplete

Posted: Sun Sep 08, 2002 4:11 am
by m3mn0n
if you were going to do the browser thing, grab an open source one from SF

http://www.sourceforge.net

Posted: Sun Sep 08, 2002 12:36 pm
by Takuma
I made an account with Source Forge but forgot my details... :oops: