Monday, April 28, 2008

Performance reality check

Doing a reality check on JavaScript performance today. I've been running with the game loop turned off for normal development, since there's something about VMWare that makes it about 3-4 times slower in JavaScript graphic performance than a native OS. But I figured it'd be a good idea to make sure that JavaScript can even handle what we want it to do before I invest lots of (additional) time in building the editor UI. It'd really suck to write it all and then find we need to rewrite it in Flex.

So far, the results are - inconsistent. It starts out fast and then abruptly gets dog slow. Normally this would point to a memory leak (and I know there are a couple, but they shouldn't have much of an effect at the game sizes we're currently testing), but this is happening really suddenly, and often after a JavaScript error.

There're a bunch of errors too that may be masking things...I've gotta do quite a bit of debugging before we get useful results. And the profiler results are not what I expected at all - methods I thought would only be called once are being called thousands of times. Have to look into that...

8 comments:

uwanna said...

gucci replica handbags
men gucci shoes
Gucci men sneakers
Gucci men moccasins
gucci women sneakers
gucci women boots
Gucci men boots
Gucci
Gucci shop
Gucci bags
Gucci shoes
Replica GUCCI SHOES
wholesale gucci shoes
cheap Gucci handbags
Gucci ON sale
Gucci Belts
Gucci small accessories
Gucci hats & scarves
Gucci wallets
Gucci Handbags
Women Gucci shoes
Men Gucci shoes
discount gucci shoes
cheap Gucci shoes

wanbojiaxin said...

NFL Jerseys
Nike chaussures
Nike TN Chaussures
Chaussures de Sport
Ed Hardy
ed hardy clothes
Victoria Secret Pink
Chaussures Sport
puma chaussures hommes
NFL Jerseys

NIKE MAX TN
Tn Requin
Nike Air Rift
jeans diesel
Chaussures puma
Ed Hardy
NFL Jerseys
MBT Shoes
Remise Chaussures Sport
chaussures pas cher
Nike Shox Shoes
Air Max Shoes
Nike shoes
Chaussures Sports
nike tn requin chaussures
NIKE MAX TN
MBT Shoes On Sale
Athletic Shoes
Clothing Jeans
ed hardy clothing
MBT Shoes On Sale
Victoria's Secret Underwear
cosplay costumes
cheap cosplay costumes

hanly said...

Blu Ray Converter
Convert Blu Ray to AVI
Convert Blu Ray to MKV
Convert Blu Ray to MOV
Convert Blu Ray to MP4

tn requin said...

sleeping bag
tablecloth
travel luggage
car gps
car parts
GPS navigation
portable GPS
lcd tv
flat tv
digital picture frames
unlocked cell phones
wedding dresses
wedding jewelry
chaussures mode
chaussures Femmes
women's shoes
round tablecloth
discount handbags
chaussures sport
chaussures pas cher
fashion bedding
id lanyard
lanyard
creative gadgets
gift ideas
kids wall stickers
wall stickers
bath curtains
kitchen faucet
bathroom faucet

djcchai said...

Nike Air Force One shoes wholesale price Nike Air Force 1 shoes Nike Air Max shoes wholesale price

Nike Air Max Tn shoes wholesale price

Nike Air Rift shoes wholesale price

Nike Dunk SB wholesale price

Nike Shox shoes wholesale price

shopping online said...

Adsense of Jordan Shoes : just do it!
Adsense of Moncler Jackets : sends to warm, give you more comforts of life!
Adsense of NFL Jerseys : everything is possible!
Adsense of Christian Louboutin : choice me is choice beautiful foot and body!
Adsense of Puma Shoes : champion is in the first line!
Adsense of Gucci Shoes : Allows you to enjoy the leisure life in the fun!
Adsense of Vibram Fivefingers : taste original life, wear the most morden and comfortable shoes!
Adsense of GHD Hair straighteners : why make our hair so beautiful and lots stylers, for choice me is choice happy!
Adsense of Michael Jordan Shoes : just do it!

Movies Gallery 2011 said...

Thanks for the share. It was very interesting and informative.
Quora Clone| Formspring Clone|

jay paul said...

Really nice post, you got great blog and Thank you for sharing This excellently written content. Waiting for next one.

HP - ENVY TouchSmart 15.6" Touch-Screen Laptop - 8GB Memory - 750GB Hard Drive - Natural Silver (15-j020us)

HP - Pavilion 15.6" Laptop - 4GB Memory - 500GB Hard Drive (15-e014nr)