Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exponential test time increase with more examples #535

Open
DanielVF opened this issue Aug 27, 2016 · 1 comment
Open

Exponential test time increase with more examples #535

DanielVF opened this issue Aug 27, 2016 · 1 comment

Comments

@DanielVF
Copy link

DanielVF commented Aug 27, 2016

I'm seeing exponential time increases when adding more examples to my scenario outline.

1x Example - 1.4 seconds
10x Examples - 22 seconds
20x Examples - 136 seconds
100x Examples - Well...

Ain't nobody got time for that

This is with a only a single feature file, containing only a single Scenario Outline. I have a table of 8 integer inputs and 4 integer outputs. I've tried replacing every single function in steps.py and terrain.py with pass, so that no code of my own is even being called, and it's just as slow (and in any case, my code is doing very fast, simple things).

Running a profile, it looks like it's spending 99.9% of its time in deepcopy copy.py:145 (Though I don't know if the profile is lying maybe the actual tests is running somewhere else)

@DanielVF DanielVF changed the title Slow - exponential time increase with examples Exponential test time increase with more examples Aug 27, 2016
@DanielVF
Copy link
Author

DanielVF commented Aug 27, 2016

I just ported my tests over to aloe and it ran them a bit faster...

Ran 90 tests in 0.086s

So it's not related to the code being testing - it appears lettuce specific.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant