Skip to content

Investigate possible AOT performance issues #31307

Closed as not planned
Closed as not planned
@bclozel

Description

@bclozel

As reported by @shodo in #30431

I've finally created a fake/dummy service that (at least on my PC) shows result similar to our production service.
The repo is available here: https://github.com/shodo/fake-service

There is a readme that explain a little bit how is structured and how to run it, the result I'm obtaining are the following:

  • standard mode: c.g.s.f.webapp.FakeServiceApplicationKt : Started FakeServiceApplicationKt in 13.056 seconds (process running for 14.914)
  • indexer mode: c.g.s.f.webapp.FakeServiceApplicationKt : Started FakeServiceApplicationKt in 8.805 seconds (process running for 9.753)
  • AOT mode: c.g.s.f.webapp.FakeServiceApplicationKt : Started FakeServiceApplicationKt in 13.984 seconds (process running for 14.813)

I've done many runs, the AOT one seems the most variable, some time 11seconds, some time 16seconds, while the standard and the indexer are more stable.

We will investigate this sample application to find out why in this case AOT is not faster than the context-indexer.

Metadata

Metadata

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)theme: aotAn issue related to Ahead-of-time processingtype: taskA general task

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions