Jump to content

  • Log In with Google      Sign In   
  • Create Account

- - - - -

Performance


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 ProtectedMode   Members   -  Reputation: 1216

Like
0Likes
Like

Posted 13 June 2014 - 09:26 AM

I'm sorry if this question has already been asked before, but I can't find any up-to-date benchmarks for Angelscript. The only benchmark I found was from 2009 or something while I see there have been a lot of progress since. I'm especially interested in the performance compared to LuaJIT. Usually I would just benchmark it myself, but I'm not good with benchmarks. Are there any existing, a bit up-to-date benchmarks, or has the performance not changed so much in these years?



Sponsor:

#2 ThyReaper   Members   -  Reputation: 484

Like
1Likes
Like

Posted 13 June 2014 - 10:56 AM

I'm not aware of any recent benchmarks compared to LuaJIT, but in the project I work on, using our JIT (https://github.com/BlindMindStudios/AngelScript-JIT-Compiler), we typically achieve performance roughly 2x-3x slower than comparable C++, and at least 2x faster than general AngelScript, with specific tasks going much faster and almost as fast as native C++.



#3 ProtectedMode   Members   -  Reputation: 1216

Like
0Likes
Like

Posted 13 June 2014 - 11:11 AM

I'm not aware of any recent benchmarks compared to LuaJIT, but in the project I work on, using our JIT (https://github.com/BlindMindStudios/AngelScript-JIT-Compiler), we typically achieve performance roughly 2x-3x slower than comparable C++, and at least 2x faster than general AngelScript, with specific tasks going much faster and almost as fast as native C++.

Thank you for your reply! This sound pretty much like LuaJIT's performance, and enough in most situations, so I think I will try AngelScript.



#4 Andreas Jonsson   Moderators   -  Reputation: 3376

Like
0Likes
Like

Posted 13 June 2014 - 11:20 AM

I'm not aware of any recent benchmarks comparing AngelScript to other scripting engines either.

 

Unless you're planning on doing everything in the script language (e.g. pathfinding, collision detection, particle systems, etc) the performance of any non-interpreted scripting language is likely not going to be an issue, and your choice of scripting engine should probably be based on the the features of the scripting engine instead.

 

At the moment the performance should be on-par to the fastest scripting engines out there. Should anyone find/do a benchmark that shows otherwise, I'd be very interested in taking a look at it. As the author of AngelScript I can tell you that there is still a lot that can be done to improve the runtime performance of AngelScript even further, but I will not spend a lot of time on optimizations unless there is an actual need for the improved performance.

 

Regards,

Andreas


AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS