Topic:   SilverCreator VS HTML5 GameMaker Speed Test   (Read 5833 times)


0 Members and 1 Guest are viewing this topic.

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
SilverCreator VS HTML5 GameMaker Speed Test
« 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


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.
« Last Edit: February 01, 2012, 02:17:53 PM by Gan »

Charlo


  • GMG-er

  • **


  • Posts: 451
Re: SilverCreator VS HTML5 GameMaker Speed Test
« Reply #1 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)

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: SilverCreator VS HTML5 GameMaker Speed Test
« Reply #2 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.

Zoo


  • GMG Extraordinaire

  • ***


  • Posts: 1686
    • My Bandcamp
Re: SilverCreator VS HTML5 GameMaker Speed Test
« Reply #3 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?
Kirby, your pudgy buddy from dream land, is back again on the game boy®!

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: SilverCreator VS HTML5 GameMaker Speed Test
« Reply #4 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.
« Last Edit: February 01, 2012, 05:11:46 PM by Gan »

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: SilverCreator VS HTML5 GameMaker Speed Test
« Reply #5 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.

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: SilverCreator VS HTML5 GameMaker Speed Test
« Reply #6 on: February 01, 2012, 07:10:10 PM »
I figure almost anything is going to draw sprites faster than SC.
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/

x


  • GMG-er

  • **


  • Posts: 247
Re: SilverCreator VS HTML5 GameMaker Speed Test
« Reply #7 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.
« Last Edit: February 01, 2012, 08:04:31 PM by x »

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: SilverCreator VS HTML5 GameMaker Speed Test
« Reply #8 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.
« Last Edit: February 01, 2012, 09:38:48 PM by Gan »

Zoo


  • GMG Extraordinaire

  • ***


  • Posts: 1686
    • My Bandcamp
Re: SilverCreator VS HTML5 GameMaker Speed Test
« Reply #9 on: February 02, 2012, 04:33:52 PM »
Wow. Thank you. I like this signature.
Kirby, your pudgy buddy from dream land, is back again on the game boy®!

EqwanoX


  • Administrator

  • GMG Extraordinaire

  • *****


  • Posts: 1180
Re: SilverCreator VS HTML5 GameMaker Speed Test
« Reply #10 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!)
« Last Edit: February 03, 2012, 08:37:06 AM by EqwanoX »

Zoo


  • GMG Extraordinaire

  • ***


  • Posts: 1686
    • My Bandcamp
Re: SilverCreator VS HTML5 GameMaker Speed Test
« Reply #11 on: February 03, 2012, 03:22:11 PM »
I couldn't program space marine in regular old SC.
Kirby, your pudgy buddy from dream land, is back again on the game boy®!

Circuit


  • GMG-er

  • **


  • Posts: 299

  • blast from the past
Re: SilverCreator VS HTML5 GameMaker Speed Test
« Reply #12 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.

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: SilverCreator VS HTML5 GameMaker Speed Test
« Reply #13 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.

Zoo


  • GMG Extraordinaire

  • ***


  • Posts: 1686
    • My Bandcamp
Re: SilverCreator VS HTML5 GameMaker Speed Test
« Reply #14 on: February 03, 2012, 06:21:16 PM »
Wow, an unfinished game, and we're already talking about remaking it. It must be good!
Kirby, your pudgy buddy from dream land, is back again on the game boy®!