Performance

Started by
2 comments, last by WitchLord 9 years, 10 months ago

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?

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++.

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.

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

This topic is closed to new replies.

Advertisement