Game Maker's Garage Forum

Game Maker's Garage => Announcements => Topic started by: Gan on February 01, 2012, 02:11:04 PM

Title: SilverCreator VS HTML5 GameMaker Speed Test
Post by: Gan on February 01, 2012, 02:11:04 PM
Hey guys, did some hard core speed tests between SilverCreator and the HTML5 GameMaker.

I think you will like the results. Here's the screen recording:
SC VS HTML5 GM Speed Test Video (http://youtu.be/yvHIu0HHhss)


Benchmarks:

SilverCreator
300,000 - 1.55 Seconds
3,000,000 - 16.82 Seconds

HTML5 GameMaker
300,000 - 0.001 seconds
3,000,000 - 0.011 seconds
30,000,000 - 0.109 seconds
300,000,000 - 1.342 seconds

Impressed? I sure am.
Title: Re: SilverCreator VS HTML5 GameMaker Speed Test
Post by: Charlo on February 01, 2012, 02:41:32 PM
Well, in-browser JavaScript engines have been in the process of being optimized for several years by large groups of extremely talented people.  And JavaScript compiles directly into machine code in most browsers (at least in Safari).  SilverCreator is the work of one dude who built a scripting language on top of a programming language (RealBasic) which does not seem to be focused on delivering insanely high speeds.   I'm not surprised by these results at all.   8)
Title: Re: SilverCreator VS HTML5 GameMaker Speed Test
Post by: Gan on February 01, 2012, 02:48:13 PM
Way to ruin a moment...

Haha, just kiddin. Yeah, Javascript is fast, though the point of this is to show the speed between the two GMs.
It is an impressive gap, considering with just a small change the user could upgrade from Sc to HTML5 GM and experience an insanely large speed increase in their code.
Title: Re: SilverCreator VS HTML5 GameMaker Speed Test
Post by: Zoo on February 01, 2012, 03:35:47 PM
Lol, nice sig, gan. Could we do that too, or is it just one of your magical powers?
Title: Re: SilverCreator VS HTML5 GameMaker Speed Test
Post by: Gan on February 01, 2012, 05:07:02 PM
Magical powers.

If you guys had these powers... it'd be too risky.

But hey, I can insert an HTML5 game into your siggy if you pm the game to me.
Title: Re: SilverCreator VS HTML5 GameMaker Speed Test
Post by: Gan on February 01, 2012, 05:43:17 PM
Magical powers.

It's too risky for users to have these powers but I can inject HTML5 games into your sigs for ya. Just PM me the game.
Title: Re: SilverCreator VS HTML5 GameMaker Speed Test
Post by: Connors on February 01, 2012, 07:10:10 PM
I figure almost anything is going to draw sprites faster than SC.
Title: Re: SilverCreator VS HTML5 GameMaker Speed Test
Post by: x on February 01, 2012, 07:57:52 PM
All you are doing is comparing Javascript to SC. One is highly optimized and often JIT compiled (or AOT compiled), the other is a scripting language made by one dude on top of an already slow compiled language. What a pointless comparison, the only thing more pointless would be comparing C to Ruby, finding Ruby is slower, then saying C is better in every way because its faster--I have actually seen a person do this.

Also, if I am not mistaken, all your "speed-test" does is update a variable hundreds of thousands of times. So all you are testing is variable allocation. The single most unfair thing to test between compiled and interpreted languages. Not to mention completely worthless in an real life scenario. Do something intense, like a program that calculates the n-body problem, or constructs a big binary search tree, then searches it. In addition a more meaningful and interesting comparison would be HTML5 GM vs raw javascript, so you can see how much, or little, performance is lost as an overhead for using the GM.
Title: Re: SilverCreator VS HTML5 GameMaker Speed Test
Post by: Gan on February 01, 2012, 09:31:19 PM
Well actually... in the video I did to a test using the Sin function. Anywho, this is just to show that the HTML5 GM is fast. Even if it was already obvious...

Edit: And to also give some real numbers as to how fast it is.
Title: Re: SilverCreator VS HTML5 GameMaker Speed Test
Post by: Zoo on February 02, 2012, 04:33:52 PM
Wow. Thank you. I like this signature.
Title: Re: SilverCreator VS HTML5 GameMaker Speed Test
Post by: EqwanoX on February 03, 2012, 08:24:25 AM
well, so much for SC. im very impressed, plus, we know its cross platform. and no sound glitch bullshit. now we can make the action games that we couldnt make in sc. someone port over SpaceMarine!

(woah! 87 wins in elements!)
Title: Re: SilverCreator VS HTML5 GameMaker Speed Test
Post by: Zoo on February 03, 2012, 03:22:11 PM
I couldn't program space marine in regular old SC.
Title: Re: SilverCreator VS HTML5 GameMaker Speed Test
Post by: Circuit on February 03, 2012, 04:46:09 PM
I kinda want to do it, but I'm busy with school and stuff.  This is probably something that we could all work on together, since it will need to be re-designed somewhat in order to work in HTML5 GM.
Title: Re: SilverCreator VS HTML5 GameMaker Speed Test
Post by: Gan on February 03, 2012, 06:17:12 PM
I gotta finish some homework right now but later tonight and tomorrow I can start the recode.

If I make progress I'll post a try-it link and the source.
Title: Re: SilverCreator VS HTML5 GameMaker Speed Test
Post by: Zoo on February 03, 2012, 06:21:16 PM
Wow, an unfinished game, and we're already talking about remaking it. It must be good!
Title: Re: SilverCreator VS HTML5 GameMaker Speed Test
Post by: Eugeneepinc on March 23, 2024, 07:26:06 PM
You are mistaken. I can defend the position.
 
circumspection
<a href=https://mmfporn.com/tags/table/>mmfporn</a>
@456FgDDY8