question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Optimize tests timings

See original GitHub issue

Right now tests take more than 7 minutes. https://github.com/lk-geimfari/mimesis/issues/263#issuecomment-347634658

What do I suggest:

  1. profiling
  2. using several threads with pytest-xdist
  3. optimisation

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
lk-geimfaricommented, Nov 29, 2017

@sobolevn I have used flag -n auto and it’s detected 4 cores automatically.

0reactions
lk-geimfaricommented, Nov 29, 2017

@sobolevn Also Travis provides CPU with 2 cores, not 4.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Schedule experiences - Optimize Resource Hub
Set custom start and end times for your tests. Optimize's experiment scheduling feature allows you to set your experiment's start and end times...
Read more >
5-Step Strategy for Optimizing Slow Tests - Semaphore CI
Keep repeating the process until the total test time is shorter than the time it takes to stretch your legs. Fasts tests will...
Read more >
How to Effectively A/B Test Send Time Optimization
We recommend you wait at least 48 hours, if not longer, before analyzing the results of any email A/B test. Take into account...
Read more >
Complete guide to testing and optimization (with use cases)
In marketing, testing and optimizing is the process of testing variations of content, design or functionality, monitoring test results and fine-tuning your ...
Read more >
Optimizing Test Time | Electronic Design
Make the most of your test time: Think before you write code, ... Since there are many ways to optimize a test program,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found