The material loading and updating is normally only done once (and then material information is cached) but it may take time if you have a lot of materials.
By the way, to avoid that ThruPaint discovers new custom materials for some models, the best is to declare your custom materials to Thrupaint, basically designating the root directory where your materials are located as a set of .skm files.