sublime-robot-framework-assistant icon indicating copy to clipboard operation
sublime-robot-framework-assistant copied to clipboard

The `Create Database Tables` command should be faster

Open aaltat opened this issue 9 years ago • 3 comments

The Create Database Tables command should be faster. It could use the Python multiprocessing in same manner index all tables uses. This would shorten the time taken to create the tabled for internal database.

aaltat avatar May 12 '16 18:05 aaltat

Would this be related to the fact that now the plugin seems slower when moving from one file to another, or when using the GoTo command? If I disable the automatic build of the db, this small lag goes away.

georgecarstoiu avatar May 23 '16 10:05 georgecarstoiu

The lag and problem with Create Database Tables are different things.

The lag is caused, because it performs the re-indexing when file is changed. My great idea was not so great after all, because I hate the lag too and have also turned the re-indexing off. This problem in the Create Database Tables is that although the single file operation takes small amount of time, scanning lot of files takes long time, like in minutes. The easy fix would be to Python multiprocessing to allow scanning multiple files at the same time.

I have an idea also to improve the performance of re-indexing but it requires some work. In practice I need to re-write the part that keeps track of the which tab is open and I have not found the the time to do it. But as said that is a separate issue.

aaltat avatar May 23 '16 12:05 aaltat

For lack of time, this will not be part of release 5.0

aaltat avatar Sep 02 '16 22:09 aaltat