Jump to content
  • Advertisement
Sign in to follow this  
ProtectedMode

Performance

This topic is 1468 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!