You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2017/03/17 14:50:02 UTC
[05/16] ignite git commit: IGNITE-824: Removed
GridRandomSelfTest.testPerformance(). This closes #1566.
IGNITE-824: Removed GridRandomSelfTest.testPerformance(). This closes #1566.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/cd0bc4fd
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/cd0bc4fd
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/cd0bc4fd
Branch: refs/heads/ignite-4565-ddl
Commit: cd0bc4fd5bed636a796e22288f8d027234dfca38
Parents: 5db0c02
Author: Alexander Menshikov <sh...@gmail.com>
Authored: Thu Mar 16 14:49:45 2017 +0300
Committer: devozerov <vo...@gridgain.com>
Committed: Thu Mar 16 14:49:45 2017 +0300
----------------------------------------------------------------------
.../org/apache/ignite/util/GridRandomSelfTest.java | 16 ----------------
1 file changed, 16 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/cd0bc4fd/modules/core/src/test/java/org/apache/ignite/util/GridRandomSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/util/GridRandomSelfTest.java b/modules/core/src/test/java/org/apache/ignite/util/GridRandomSelfTest.java
index fee8824..1310c4e 100644
--- a/modules/core/src/test/java/org/apache/ignite/util/GridRandomSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/util/GridRandomSelfTest.java
@@ -51,20 +51,4 @@ public class GridRandomSelfTest extends TestCase {
}
}
}
-
- /**
- * Test performance difference.
- */
- public void testPerformance() {
- fail("https://issues.apache.org/jira/browse/IGNITE-824");
-
- Random rnd = new GridRandom(); // new Random();
-
- long start = System.nanoTime();
-
- for (int i = 0; i < 2000000000; i++)
- rnd.nextInt();
-
- X.println("Time: " + (System.nanoTime() - start) + " ns");
- }
}
\ No newline at end of file