Skip to content

Commit

Permalink
Refactored iocsh to use non-depracted methods
Browse files Browse the repository at this point in the history
  • Loading branch information
karlvestin committed Apr 4, 2023
1 parent f401219 commit 5aa3fc5
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions test_opcua.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,19 +647,11 @@ def test_write_performance(self, test_inst):
mint = dt
tott += dt
totr += dr
print("Time: ", dt)
print("Memory: ", dr)
print("Memory: ", r0.ru_maxrss)
print("Memory: ", r1.ru_maxrss)
avgt = tott / testruns

print("Max time: ", maxt)
print("Min time: ", mint)
print("Average time: ", avgt)
print("Total memory: ", totr)
avgt = tott / testruns

assert maxt < 17
assert mint > 1
assert mint > 0.8
assert avgt < 5
assert totr < 3000

Expand Down

0 comments on commit 5aa3fc5

Please sign in to comment.