jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject [jmeter] branch master updated: Log status on start up, when splash screen is displayed
Date Mon, 10 Aug 2020 16:02:14 GMT
This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new 44c0c7e  Log status on start up, when splash screen is displayed
44c0c7e is described below

commit 44c0c7ee1a18b86528adf07607839614166d60f6
Author: Felix Schumacher <felix.schumacher@internetallee.de>
AuthorDate: Mon Aug 10 17:59:56 2020 +0200

    Log status on start up, when splash screen is displayed
    
    Be more verbose on the init phase, when the startup splash screen
    is being displayed. This can hopefully be used to pinpoint problems
    on startup more easily.
    
    Bugzilla Id: 64658
---
 src/core/src/main/java/org/apache/jmeter/JMeter.java | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/core/src/main/java/org/apache/jmeter/JMeter.java b/src/core/src/main/java/org/apache/jmeter/JMeter.java
index 451d882..f0dc7e2 100644
--- a/src/core/src/main/java/org/apache/jmeter/JMeter.java
+++ b/src/core/src/main/java/org/apache/jmeter/JMeter.java
@@ -385,18 +385,26 @@ public class JMeter implements JMeterPlugin {
         SplashScreen splash = new SplashScreen();
         splash.showScreen();
         splash.setProgress(10);
+        log.debug("Apply HiDPI on fonts");
         JMeterUtils.applyHiDPIOnFonts();
+        splash.setProgress(20);
+        log.debug("Configure PluginManager");
         PluginManager.install(this, true);
-
-        JMeterTreeModel treeModel = new JMeterTreeModel();
         splash.setProgress(30);
+        log.debug("Setup tree");
+        JMeterTreeModel treeModel = new JMeterTreeModel();
         JMeterTreeListener treeLis = new JMeterTreeListener(treeModel);
         final ActionRouter instance = ActionRouter.getInstance();
+        splash.setProgress(40);
+        log.debug("populate command map");
         instance.populateCommandMap();
         splash.setProgress(60);
         treeLis.setActionHandler(instance);
+        log.debug("init instance");
+        splash.setProgress(70);
         GuiPackage.initInstance(treeLis, treeModel);
         splash.setProgress(80);
+        log.debug("constructing main frame");
         MainFrame main = new MainFrame(treeModel, treeLis);
         splash.setProgress(100);
         ComponentUtil.centerComponentInWindow(main, 80);


Mime
View raw message