Science Project

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Science Project

Post 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?
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

Just make sure PHP looks better then ASP on your project.. ;)
Image Image
jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post by jason »

jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post by jason »

User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post 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)
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Post 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?
User avatar
Takuma
Forum Regular
Posts: 931
Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:

Post by Takuma »

I don't think so...
You might be able to make your own browser and mesaure it.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post 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
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

if you were going to do the browser thing, grab an open source one from SF

http://www.sourceforge.net
User avatar
Takuma
Forum Regular
Posts: 931
Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:

Post by Takuma »

I made an account with Source Forge but forgot my details... :oops:
Post Reply