Update commander.py
This commit is contained in:
parent
8bad7e4690
commit
2ad020b018
@ -77,3 +77,15 @@ class Commander(CommandLine):
|
|||||||
total += 1
|
total += 1
|
||||||
dur = time() - start_time
|
dur = time() - start_time
|
||||||
print(f'{total} jumpgates in {dur:.2f} seconds')
|
print(f'{total} jumpgates in {dur:.2f} seconds')
|
||||||
|
start_time = time()
|
||||||
|
total = 0
|
||||||
|
for m in self.store.all('', Waypoint, True):
|
||||||
|
total += 1
|
||||||
|
dur = time() - start_time
|
||||||
|
print(f'{total} waypoints in {dur:.2f} seconds')
|
||||||
|
start_time = time()
|
||||||
|
total = 0
|
||||||
|
for m in self.store.all('', System, True):
|
||||||
|
total += 1
|
||||||
|
dur = time() - start_time
|
||||||
|
print(f'{total} systems in {dur:.2f} seconds')
|
||||||
|
Loading…
Reference in New Issue
Block a user