cog icon indicating copy to clipboard operation
cog copied to clipboard

Improve performance of `format:table` with many items

Open vanstee opened this issue 8 years ago • 1 comments

@agis reported that generating a table with 40 rows takes 20 seconds. Let's improve the speed here by looking at how quickly we can make each invocation respond. I think the best we can do without changing how containers are created would be about 8 seconds due to the cost of starting a container for each invocation; still a decent improvement.

vanstee avatar Nov 02 '16 13:11 vanstee

Note that we were using an in-house, native version of the "format" bundle - no containers involved. Most of the time was spent in gems being loaded by bundler (ie. Bundler.setup in the 'cog-rb' gem).

agis avatar Nov 02 '16 15:11 agis