spring-projects / spring-projects/spring-tools
Feature Idea: Code Minings for Profiling
Open
Nobody has claimed this yet.
status: needs-investigation
type: enhancement
- Dominant language
- Java
- Stars
- 983
- Forks
- 240
- Avg merge
- 7d 1h
- Merged PRs (30d)
- 7
Description
It would be really great to have functionality like the following:
- In STS4 activate profiling on methods you would like to profile, e.g. via context menu or any other option. (This should then trigger some AOP proxy magic in the background to decorate these methods with stopwatches)
- Start the app (and perform the action you like) or run the unit test.
- Get code mining annotations on the previously mentioned methods that state (live) the count of how many times that method has been called and, most important, the duration time of that method. (in case of more than one invocation some statistics min, max, avg, median accordingly)
Is this even possible? Maybe through a combination of IDE support and DevTools?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are identified in the issue. Start by assessing how STS4, AOP proxies, and DevTools could support selecting methods for profiling and displaying code-mining results. Done would require a defined workflow for activation, running an application or test, and showing invocation counts and timing statistics.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- developer-experience, performance, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100