Giter VIP home page Giter VIP logo

Comments (5)

ZevEisenberg avatar ZevEisenberg commented on September 10, 2024

I wonder if we could grab a power assertion to keep the computer awake? As for the speed, the best thing you can do in your own code is to do whatever you can to make your test suite run faster. Eliminating waits and async stuff will help, as will breaking your app up into frameworks so the cycle to build and run particular test files is shorter after a file is changed.

from muter.

im-not-josh avatar im-not-josh commented on September 10, 2024

@itsmeabhinay and myself felt like a runtime of 1000+ mins was not/couldnt be right and figured we had some config issue or maybe project settings that were correct which caused such a long runtime.
As a next step, we created a brand new sample app, added 2 classes and 10 Unit tests.
The runtime for this sample app, was still 1hr.

My main question here is - does it seem reasonable/does 60mins to run mutation tests on 10 unit tests seem correct? is that what others are seeing?
An equivalent mutation test plugin on java/kotlin android takes 2mins to run - i know the platforms are different and run times will be too, but 1hr to mutation test 10 tests seems crazy?

from muter.

ZevEisenberg avatar ZevEisenberg commented on September 10, 2024

Agreed. That seems high! I don't have any concrete benchmarks for you offhand, but I'd dig into how long xcodebuild or swift test takes to run the same tests as a starting point.

from muter.

im-not-josh avatar im-not-josh commented on September 10, 2024

@itsmeabhinay wanna grab some stats on build and run times and post them here?
Also thinking is it an xcode version related thing? Did we try make the sample app in xcode12 and see if the run time is the same?
@ZevEisenberg What's a birthday runtime on projects you've applied muter to?

from muter.

ZevEisenberg avatar ZevEisenberg commented on September 10, 2024

I don't remember offhand, but I seem to recall it being pretty close to a clean or perhaps incremental build (I forget which, and it's an important difference) multiplied by the number of mutants found. The disk operations to swap out the mutated files are pretty negligible unless it's a massive project, so it's nearly all build time.

from muter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.