Closed as not planned
Description
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-serviceThere 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.