question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bring back the "fast" profile

See original GitHub issue

Some time ago we had a “fast” profile, which was removing some non-essential Spring beans in order to boot faster.

I just did a test with the simplest possible microservice (no database, no registry, etc…) and startup time is nearly 8 seconds! That’s incredibly slow for something so simple.

Doing a simple fast profile I could bring down that startup time to 5.5 seconds, and I’m pretty sure we could do better.

So how about bringing back the “fast” profile?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
cbornetcommented, Oct 26, 2017

@PierreBesson I’m using it !

0reactions
jduboiscommented, Nov 8, 2017

I see many of you want this, but for the moment I’m giving up…

Here are the reasons:

  • This complexifies the code, as you have the fast profile everywhere.
  • I can win a bit more than 2 seconds at start-up, which isn’t that much. Besides, we have hot-reload, so that’s even less interesting.
  • It’s a bit complex to use, as there are less features.

Here is a patch of what I did on a “simple” application. It’s pretty easy to use it and test. patch.txt

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Bring Instagram Reels Back to Your Main Grid? + How ...
Now you're asking yourself: "How do I add the Reels on my profile grid again?". Here's a quick video to answer your question...
Read more >
TikTok is bringing back profile views and users aren't happy
Some TikTok users have noticed that the profile view history feature is returning, and not everyone is happy about it.
Read more >
How to Get Back Avatars in Chrome to Switch User Profiles ...
How to Switch Users Faster in the New Avatar Menu. If you don't mind the newer gray buttons, but still want a faster...
Read more >
Bring Back Original Carnation Breakfast Bars - Home | Facebook
Food & Beverage. See all. Bring Back Original Carnation Breakfast Bars, profile picture ... How fast can we get there? 2,056 Likes367 comments....
Read more >
Magazines, bring back the write-around!
It's journalism that trades the in-home tour for a rigorous scrutiny of the balance sheet and the SEC filings. Even the celebrity profile...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found