aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2017-10-02 10:28:58 +0200
committerGitHub <noreply@github.com>2017-10-02 10:28:58 +0200
commit8115d8b7e41c38120650bac7432291c722b9a7c3 (patch)
treefa1799aab7cd353475b32d622b4a0408de84cac0 /tests
parent583e42c16797bf57162ebd502e12241d8765a8fc (diff)
downloadsonarqube-8115d8b7e41c38120650bac7432291c722b9a7c3.tar.gz
sonarqube-8115d8b7e41c38120650bac7432291c722b9a7c3.zip
SONAR-6959 Performance improvements
* Avoid creation of intermediary array * SONAR-6959 Speed-up copy of custom measures in Compute Engine * Use light object to get key/uuid map of components * Avoid always formatting string * Minor refactoring * Avoid cost of hash * Ajust perf tests
Diffstat (limited to 'tests')
-rw-r--r--tests/src/test/java/org/sonarqube/tests/performance/scanner/MemoryTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/test/java/org/sonarqube/tests/performance/scanner/MemoryTest.java b/tests/src/test/java/org/sonarqube/tests/performance/scanner/MemoryTest.java
index 1ddf3b9bbac..577f2dfe3f0 100644
--- a/tests/src/test/java/org/sonarqube/tests/performance/scanner/MemoryTest.java
+++ b/tests/src/test/java/org/sonarqube/tests/performance/scanner/MemoryTest.java
@@ -89,7 +89,7 @@ public class MemoryTest extends AbstractPerfTest {
.setProjectDir(baseDir);
BuildResult result = orchestrator.executeBuild(scanner);
- perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 8950);
+ perfRule.assertDurationAround(MavenLogs.extractTotalTime(result.getLogs()), 8200);
// Second execution with a property on server side
orchestrator.getServer().newHttpCall("/api/settings/set")