From: Roger B. <ro...@ro...> - 2004-01-23 10:07:32
|
This will be of most use to Stephen. In the experiments directory there is a new script gentestdata. Recommended way of running it is: cd experiments python gentestdata.py ../tests cd .. (../tests is the directory it creates the data in). There is a nice csv file for importing into the phonebook. (Note it may take several minutes to generate). There are also midi files and wallpapers. There is also a calendar index.idx file you can place in your data directory. As a result of playing with this test data, I have found numerous areas where code needs to be tightened up (it is usually because it doesn't truncate fields when formatting data for the phone). You can also turn on profiling in bp.py (change the False to True). I managed to significantly improve startup and import speeds with large data sets by changing a few lines. Roger |