Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] Eclipse tracing the startup time of plug-ins

Hi Andrey,

AFAIK if a plug-ins is started and triggers other plug-in activation
it has to wait for this activation. In this case it startup time will
be increases by its dependencies.
So https://bugs.eclipse.org/bugs/show_bug.cgi?id=540487 is bad, glad
to see to see that you already posted a fix for that. After the fix,
EGit should be again a fast starter. :-)

Best regards, Lars
On Fri, Oct 26, 2018 at 11:24 AM Andrey Loskutov <loskutov@xxxxxx> wrote:
>
> Looks like the times are cumulative, means egit.ui includes start time for JDT UI (due https://bugs.eclipse.org/bugs/show_bug.cgi?id=540487), JDT UI includes JDT core etc.
>
> Kind regards,
> Andrey Loskutov
>
> Спасение утопающих - дело рук самих утопающих
>
> http://google.com/+AndreyLoskutov
>
>
> > Gesendet: Freitag, 26. Oktober 2018 um 11:20 Uhr
> > Von: "Lars Vogel" <lars.vogel@xxxxxxxxxxx>
> > An: "General development mailing list of the Eclipse project." <eclipse-dev@xxxxxxxxxxx>
> > Betreff: [eclipse-dev] Eclipse tracing the startup time of plug-ins
> >
> > Hi,
> >
> > several committers and contributors asked about the tracing option in
> > Eclipse to measure startup time on EclipseCon.
> >
> > As promised, I documented this and you find it here:
> > http://www.vogella.com/tutorials/EclipsePerformance/article.html#example-tracing-the-startup-time-of-plug-ins
> >
> > Stuff we did to improve startup time in the past:
> > - Move Activator code to OSGi DS services
> > - Move blocking initialization code to Jobs
> > - Remove useless code if it exists
> >
> > Here is the ranked output for my SDK + EGit + SonarLint + Asciidoctor
> > toolilng +e4 spies + Codemining based on the shell script from the
> > tutorial. The number at the beginning is the required time to start in
> > milliseconds, e.g., jdt.ui takes a bit more than half a second.
> >
> > 793 org.eclipse.egit.ui_5.0.0.201806131550-r
> > 590 org.eclipse.jdt.ui_3.16.0.v20181019-1929
> > 393 org.sonarlint.eclipse.ui_3.6.0.201806071228
> > 314 org.sonarlint.eclipse.core_3.6.0.201806071228
> > 278 org.eclipse.jdt.core_3.16.0.v20181023-1015
> > 147 org.eclipse.ui.trace_1.1.200.v20180829-0709
> > 144 org.eclipse.core.runtime_3.15.100.v20180907-0807
> > 133 org.eclipse.update.configurator_3.4.100.v20180821-1913
> > 121 org.eclipse.egit.core_5.0.0.201806131550-r
> > 97 org.eclipse.core.resources_3.13.200.v20181016-1140
> > 95 org.eclipse.ui.workbench_3.112.100.v20181023-1210
> > 79 org.eclipse.equinox.simpleconfigurator_1.3.100.v20180827-1122
> > 70 org.eclipse.osgi_3.13.200.v20180906-2135
> > 68 org.eclipse.pde.ui_3.10.500.v20181023-0807
> > 56 org.eclipse.equinox.console_1.3.200.v20181008-1820
> > 52 org.eclipse.pde.core_3.12.200.v20181012-1153
> > 49 org.eclipse.equinox.p2.ui.sdk.scheduler_1.4.100.v20180827-1122
> > 43 org.eclipse.emf.common_2.15.0.v20180723-1316
> > 43 org.eclipse.core.jobs_3.10.200.v20180912-1356
> > 40 org.eclipse.jsch.core_1.3.200.v20180827-1041
> > 36 org.eclipse.core.net_1.3.300.v20180827-1041
> > 33 org.eclipse.core.contenttype_3.7.100.v20180817-1401
> > 32 org.apache.felix.scr_2.0.14.v20180822-1822
> > 30 org.eclipse.jdt.launching_3.11.100.v20181019-1948
> > 27 org.eclipse.equinox.registry_3.8.200.v20181008-1820
> > 26 org.eclipse.equinox.app_1.4.0.v20181009-1752
> > 25 org.eclipse.equinox.preferences_3.7.200.v20180827-1235
> > 24 org.eclipse.emf.ecore_2.15.0.v20180722-1159
> > 22 org.apache.felix.gogo.runtime_1.1.0.v20180713-1646
> > 20 org.eclipse.core.expressions_3.6.200.v20180817-1401
> > 16 org.eclipse.debug.core_3.13.100.v20180910-0519
> > 13 org.eclipse.team.ui_3.8.200.v20180827-1338
> > 13 org.eclipse.equinox.p2.metadata.repository_1.3.100.v20180822-1302
> > 13 org.eclipse.equinox.common_3.10.200.v20181021-1645
> > 11 org.eclipse.team.core_3.8.300.v20180827-1041
> > 11 org.eclipse.equinox.p2.reconciler.dropins_1.3.0.v20180921-1132
> > 10 org.apache.felix.gogo.shell_1.1.0.v20180713-1646
> > 9 org.eclipse.equinox.event_1.5.0.v20181008-1938
> > 9 org.eclipse.compare_3.7.400.v20181019-1444
> > 8 org.eclipse.e4.ui.workbench_1.8.0.v20181022-1348
> > 8 org.apache.felix.gogo.command_1.0.2.v20170914-1324
> > 7 org.sonarlint.eclipse.jdt_3.6.0.201806071228
> > 5 org.eclipse.ltk.core.refactoring_3.9.100.v20180828-0626
> > 5 org.eclipse.equinox.p2.repository_2.4.200.v20181005-1131
> > 4 org.showshortcuts_1.0.1
> > 4 org.eclipse.ui.editors_3.11.300.v20180914-0606
> > 4 org.eclipse.equinox.p2.ui.sdk_1.1.100.v20180827-1122
> > 3 org.eclipse.ui.workbench.texteditor_3.11.200.v20181017-0917
> > 3 org.eclipse.equinox.p2.core_2.5.100.v20180822-1532
> > 2 org.eclipse.ui.ide_3.14.200.v20181017-1322
> > 2 org.eclipse.ui.cheatsheets_3.5.300.v20180823-1505
> > 2 org.eclipse.ui_3.111.0.v20181017-1216
> > 2 org.eclipse.tm.terminal.view.ui_4.5.0.201808290101
> > 2 org.eclipse.ltk.ui.refactoring_3.9.200.v20180828-0626
> > 2 org.eclipse.help_3.8.200.v20180821-0700
> > 2 org.eclipse.equinox.p2.metadata_2.4.100.v20180822-1302
> > 2 org.eclipse.e4.ui.workbench.swt_0.14.400.v20181022-1348
> > 1 org.sonarlint.eclipse.m2e_3.6.0.201806071228
> > 1 org.sonarlint.eclipse.cdt_3.6.0.201806071228
> > 1 org.eclipse.wst.sse.ui_1.5.0.v201807252207
> > 1 org.eclipse.ui.views.log_1.2.300.v20180827-1331
> > 1 org.eclipse.ui.net_1.3.300.v20180827-1041
> > 1 org.eclipse.ui.console_3.8.300.v20181019-1609
> > 1 org.eclipse.pde.launching_3.7.300.v20180926-1404
> > 1 org.eclipse.jdt.core.manipulation_1.11.0.v20181019-1929
> > 1 org.eclipse.equinox.security_1.2.600.v20181022-1735
> > 1 org.eclipse.equinox.p2.ui_2.5.300.v20180921-1019
> > 1 org.eclipse.equinox.p2.operations_2.5.200.v20180928-1359
> > 1 org.eclipse.equinox.p2.garbagecollector_1.1.100.v20180822-1302
> > 1 org.eclipse.equinox.p2.engine_2.6.100.v20180822-1302
> > 1 org.eclipse.equinox.p2.directorywatcher_1.2.100.v20180822-1302
> > 1 org.eclipse.emf.ecore.xmi_2.15.0.v20180706-1146
> > 1 org.eclipse.e4.tools.preference.spy_0.1.0.v20171212-1226
> > 1 org.eclipse.core.filesystem_1.7.200.v20180828-0158
> > 0 org.eclipse.ui.monitoring_1.1.300.v20180828-1350
> > 0 org.eclipse.tips.ide_0.1.200.v20180821-0700
> > 0 org.eclipse.jdt.codemining_1.0.0.201808270308
> > 0 org.eclipse.egit.codemining_1.0.0.201808270308
> > 0 org.eclipse.e4.ui.css.swt_0.13.300.v20180920-1522
> > 0 org.eclipse.e4.tools.services_4.8.200.v20181022-1512
> > 0 org.eclipse.e4.tools.bundle.spy_0.18.0.v20170601-1400
> > 0 org.eclipse.core.filebuffers_3.6.300.v20180822-1339
> > 0 org.eclipse.compare.core_3.6.300.v20180827-1041
> >
> > Best regards, Lars
> > --
> > Eclipse Platform project co-lead
> > CEO vogella GmbH
> >
> > Haindaalwisch 17a, 22395 Hamburg
> > Amtsgericht Hamburg: HRB 127058
> > Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
> > USt-IdNr.: DE284122352
> > Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com
> > _______________________________________________
> > eclipse-dev mailing list
> > eclipse-dev@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> > https://www.eclipse.org/mailman/listinfo/eclipse-dev
> _______________________________________________
> eclipse-dev mailing list
> eclipse-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/eclipse-dev



-- 
Eclipse Platform project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com


Back to the top