diff --git a/docs/_sass/_dark-mode.scss b/docs/_sass/_dark-mode.scss index 29cec7d..c15b858 100644 --- a/docs/_sass/_dark-mode.scss +++ b/docs/_sass/_dark-mode.scss @@ -26,6 +26,23 @@ opacity: 0.5; } + // Improve sidebar TOC readability + .docs__sidebar-title { + color: #a8bcc9; + } + + .docs__toc a { + color: #b0c4d1; + + &:hover { + color: var(--color-primary); + } + + &.is-active { + color: var(--color-primary); + } + } + .code-panel { background: $dark-code-bg; border-color: $dark-border; diff --git a/docs/index.html b/docs/index.html index 137164a..27d0d15 100644 --- a/docs/index.html +++ b/docs/index.html @@ -311,40 +311,22 @@
Measure any code block — no need to extract separate methods.
+ There's More +Block tracking, custom thresholds, constructor tracking, global configuration, and more — Timer Ninja has everything you need for method-level performance insights.
@TimerNinjaTracker(includeArgs = true, threshold = 100)
-public void processLoanApplication(int userId, double amount, int months) {
- User user = userService.findUser(userId);
-
- TimerNinjaBlock.measure("credit score check", () -> {
- simulateDelay(60);
- });
-
- TimerNinjaBlock.measure("income verification", () -> {
- simulateDelay(80);
- });
-
- String status = TimerNinjaBlock.measure("final approval", () -> {
- simulateDelay(50);
- return "APPROVED";
- });
-}
-