Have some form of highlighting/mouseover API funtions to indicate CPU Cost



  • When optimizing code most will have rhis come natural, and others will have to look up how much everything costs in the docs.

    Especially for beginners it would be nice to have some sort of quick lookup to see how much each call costs if it is a known api call. That way hunting down cpu consuming code becomes a lot easier to glance at even though you still need to dive in to find real problems or optimization points.



  • If you're looking for places to optimise your code, check out the profiler: https://github.com/gdborton/screeps-profiler



  • I know about the profiler, but that is a lot of hassle for a starter as well. Common sense would also help you profile, (searches are expensive and all that) but this would make it a bit easier for starters. It is just an idea though.