Custom Language Plugin Optimization

I have been working very hard on my Lua plugin, and as I approach my 1.0 release its getting closer to optimization time.

I have a general question. What are some of the common techniques for optimizing custom language plugins?

For me opening very large files takes a long time. I am not sure that I have done everything possible to speed up the process. I guess I am following the rule about premature optimization, and focusing on functionality first, but as I am getting feedback one of the main complaints is that there is slow performance on large files.

I know I haven't provided alot of detail in my question, but I am hoping that there are some common pitfalls that I can learn about and learn how to avoid.

Thanks in advance for any help that you can provide.

-Jon

1 comment

Hello Jon,

The best thing is, of course, taking CPU snapshots and seeing where the time
goes.

I have been working very hard on my Lua plugin, and as I approach my
1.0 release its getting closer to optimization time.

I have a general question. What are some of the common techniques for
optimizing custom language plugins?

For me opening very large files takes a long time. I am not sure that
I have done everything possible to speed up the process. I guess I am
following the rule about premature optimization, and focusing on
functionality first, but as I am getting feedback one of the main
complaints is that there is slow performance on large files.

I know I haven't provided alot of detail in my question, but I am
hoping that there are some common pitfalls that I can learn about and
learn how to avoid.

Thanks in advance for any help that you can provide.


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.