performance debugs
This commit is contained in:
parent
4b3ce016b2
commit
b722125c3e
|
@ -237,10 +237,12 @@ class Geojson:
|
||||||
self._city.level_of_detail.geometry = lod
|
self._city.level_of_detail.geometry = lod
|
||||||
if lod == 1:
|
if lod == 1:
|
||||||
start = datetime.datetime.now()
|
start = datetime.datetime.now()
|
||||||
lines_information = GeometryHelper.city_mapping(self._city)
|
lines_information = GeometryHelper.city_mapping(self._city, plot=True)
|
||||||
|
print(lines_information)
|
||||||
print(f'mapping: {datetime.datetime.now() - start}')
|
print(f'mapping: {datetime.datetime.now() - start}')
|
||||||
|
start = datetime.datetime.now()
|
||||||
# self._store_shared_percentage_to_walls(self._city, lines_information)
|
self._store_shared_percentage_to_walls(self._city, lines_information)
|
||||||
|
print(f'shared_walls: {datetime.datetime.now() - start}')
|
||||||
if len(missing_functions) > 0:
|
if len(missing_functions) > 0:
|
||||||
print(f'There are unknown functions {missing_functions}')
|
print(f'There are unknown functions {missing_functions}')
|
||||||
return self._city
|
return self._city
|
||||||
|
|
Loading…
Reference in New Issue
Block a user