[Marble-devel] Marble slow in trunk due to latest GeoData changes
Torsten Rahn
tackat at t-online.de
Thu Aug 26 17:19:49 CEST 2010
Speed is back again in trunk! :-)
Our Genius Thibaut Gridel (aka idis) came up with the required revert-commit to
bring back the old workaround that brought us speed in 0.10.0 already. Thanks!
See commit r1168402.
So now there's enough time again to come up with a proper solution (the proxy
model).
Torsten
On Saturday 21 August 2010 19:44:08 Torsten Rahn wrote:
> Hi,
>
> As you might have noticed Marble is a lot slower in trunk (especially with
> maps that display placemarks, like Atlas, Plain Map, Satellite View) than
> in the 0.10.0 release.
>
> From my initial investigations this is due to the recent changes in
> GeoData: We currently iterate through the whole geodata tree to check
> which item is visible. Since the default placemarks amount to >10000 items
> this is a slow procedure. (Unfortunately I only now realized why having
> the GeoDataRender as a plugin wasn't that bad as an idea ....).
>
> We have plans that would get us back to the old performance again (or even
> better performance). For this some further changes regarding GeoData are
> required:
>
> We need some instance that periodically parses the whole GeoData tree (as
> long as there are changes to the tree or as long as the observer moves)
> and connects/adds each item of the GeoDataDocument to a
> proxy-GeoDataDocument that only holds all the truely visible stuff. The
> View would only operate on the proxy-GeoDataDocument and not on the real
> one.
> This would reduce the amount of data drastically and would improve speed
> again.
>
> Stay tuned until we get it fixed :-) (idis: Maybe we can come up with a
> quick and dirty workaround?)
>
> Torsten
> _______________________________________________
> Marble-devel mailing list
> Marble-devel at kde.org
> https://mail.kde.org/mailman/listinfo/marble-devel
More information about the Marble-devel
mailing list