
- Forum
- General Help
- XML
- [Resolved] [Resolved] [Resolved] [Resolved] Flash Player v6 Beta --- XML results
-
Ok. So I said I'd post these so here ya go:
First - this is NOT the Flash 6 Authoring Environment.
Second - this IS the Flash PLAYER v6 Beta that was released.
So...
Back in the day when people were still trying to manage large XML documents and Flash, I made a simple little tester to see how long it took to load certain structures of XML documents....
With the release of the Flash 6 Beta I thought I'd open the vault and run some tests.
HOLY COW!!!
Uhh...
1000 'node' XML document [not optimised] (70Kb):
oldPlayer=26.976 seconds
newPlayer=0.156 seconds
Yep. A heck of a lot faster.
Oh - and the machine running the old player is a P4 1.5GHz. The machine running the new player is a Celeron 400MHz.
Yep. A whole lot of a heck faster.
And...
10,000 'node' XML document [not optimised] (693Kb):
oldPlayer=Choke city. 1... 2... 3... ... 16... times I've had to tell the script to keep running. Ok - so by now they've found your competitors, and bought their product.
newPlayer=0.161 seconds
Yep. Screamingly faster. Even.. dare I say it - USABLY faster!!! Finally! Dreams come true!! Wait. Half of the FAQ's out there won't mean anything since they can quickly parse very large documents!! : ) But that's a good thing, and we're happy.
P.s. - I know, I know - not all tests are similar. Not all XML is similar. Not all computers are similar. But guess what... Flash Player versions aren't similar either! : )
<<< UPDATE >>>
Wait. I was wrong. When I meant 1,000 and 10,000 I should have said:
1,000 main nodes with 3 child nodes each - 4,000 nodes - right?
10,000 would then mean 40,000 nodes - right?
< voice tone = 'hushed' feeling = 'reverent' >...wow...< / voice >
-
supervillain
yeah, so far, everybody has noticed that the increase in XML load and parse times has been improved in orders of magnitude.
I'm impressed.
]happy happy, joy joy
-
that sound good - but...
does the playing head still pause as the xml is parsed? that's been a bind for me when tryng to transparently load xml into a movie. I've been using XMLq for a while now. It's faster than the native flash player v.5 parser and doesn't stop the playing head.
http://www.alabamasubs.com/541am/xmlq/
-
Uhh...
Maybe you didn't read the numbers... 
Yep. It still pauses the playhead. But come on - 1/10th of a second?? I'd say that's do able. At 30 frames a second you'd only pause for 3 frames.
-
ah, yes. You're right! I didn't read the numbers properly. That's not too bad - and I don't think I'll be loading 30 meg data files too often ;)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|