We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
Support said this is just speed within the api and can't say much more. They said it has gotten faster over time so maybe will get better in the future but for now there is not much one can do to speed it up.
We are going to move highs speed routines out of test complete for now as it seems like the better plan.
Good point I think I accounted for that by having the timer only around the action not the entire function. Maybe python time.time does something I don't expect.
I believe I am ignoring the 2-3 seconds it takes before the test even starts. I consider that time acceptable but iteration on an array to be almost 1 second seems pretty slow.
def test_timing():
print("starting")
start_num = time.time()
numbers = create_permuted_ints(100)
made_num = time.time()
for i in range(50):
for j in range(100):
numbers[j] = (2 * numbers[j]) % 10000
end_num = time.time()
dt6 = int((made_num - start_num) * 1000)
dt7 = int((end_num - start_num) * 1000)
print(dt6)
print(dt7)
print("done")