Lucene - Core
  1. Lucene - Core
  2. LUCENE-4654

Test duration statistics from multiple test runs should be reused (locally).

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2, 5.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This is trivial to accomplish: when somebody (or jenkins) runs tests multiple times the execution statistics could be reused to improve load balancing on the local machine (local hardware and settings) in favor of the precached values currently version in the svn repo.

      At this moment we already do this, but keep the stats under build/ and every ant clean effectively removes them. I could move those stats under an svn-ignored folder elsewhere so that these stats are not lost and reused for balancing.

        Activity

        Hide
        Uwe Schindler added a comment -

        Closed after release.

        Show
        Uwe Schindler added a comment - Closed after release.
        Hide
        Commit Tag Bot added a comment -

        [branch_4x commit] Dawid Weiss
        http://svn.apache.org/viewvc?view=revision&revision=1452277

        LUCENE-4654: Test duration statistics from multiple test runs should be reused (locally).

        Show
        Commit Tag Bot added a comment - [branch_4x commit] Dawid Weiss http://svn.apache.org/viewvc?view=revision&revision=1452277 LUCENE-4654 : Test duration statistics from multiple test runs should be reused (locally).
        Hide
        Commit Tag Bot added a comment -

        [trunk commit] Dawid Weiss
        http://svn.apache.org/viewvc?view=revision&revision=1452276

        LUCENE-4654: Test duration statistics from multiple test runs should be reused (locally).

        Show
        Commit Tag Bot added a comment - [trunk commit] Dawid Weiss http://svn.apache.org/viewvc?view=revision&revision=1452276 LUCENE-4654 : Test duration statistics from multiple test runs should be reused (locally).
        Hide
        Dawid Weiss added a comment -

        I've implemented this and committed it in along with an update to precomputed statistics.

        This will not make your tests a whole lot faster because there is job-stealing by default anyway so unless you really hit a long test scheduled at the very end of a series of per-jvm tests it won't make a difference.

        Obviously it won't make any difference if you're running with a single JVM either.

        What may make a (small) difference is for people with a lot of cores or, paradoxically, a few cores on slower machines. I think it's an improvement over the existing version anyway so it's for the better.

        Show
        Dawid Weiss added a comment - I've implemented this and committed it in along with an update to precomputed statistics. This will not make your tests a whole lot faster because there is job-stealing by default anyway so unless you really hit a long test scheduled at the very end of a series of per-jvm tests it won't make a difference. Obviously it won't make any difference if you're running with a single JVM either. What may make a (small) difference is for people with a lot of cores or, paradoxically, a few cores on slower machines. I think it's an improvement over the existing version anyway so it's for the better.

          People

          • Assignee:
            Dawid Weiss
            Reporter:
            Dawid Weiss
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development