diff --git a/docs/_sass/_code.scss b/docs/_sass/_code.scss index e86c334..099b172 100644 --- a/docs/_sass/_code.scss +++ b/docs/_sass/_code.scss @@ -70,6 +70,44 @@ } } +// VS comparison list (Timer Ninja vs Heavy Frameworks) +.vs-list { + list-style: none; + padding: 0; + margin: 0; + + li { + position: relative; + padding: 0.55rem 0 0.55rem 1.6rem; + font-size: 0.9rem; + line-height: 1.5; + color: var(--color-text-muted); + border-bottom: 1px solid var(--color-border); + + &:last-child { + border-bottom: none; + } + + &::before { + position: absolute; + left: 0; + top: 0.55rem; + } + } +} + +.code-panel--before .vs-list li::before { + content: "✕"; + color: $accent-red; + font-weight: 700; +} + +.code-panel--after .vs-list li::before { + content: "✓"; + color: $primary; + font-weight: 700; +} + .comparison__result { text-align: center; padding: $space-xl 0; diff --git a/docs/index.html b/docs/index.html index 72d98bd..137164a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -18,7 +18,7 @@

A Sneaky Library for
Java Method Timing

- Track execution time with a single annotation. Preserve call hierarchies. Zero boilerplate. Built on AspectJ. + Track execution time with a single annotation. Get a full call hierarchy with timing & arguments — no heavy tracing frameworks required.

@@ -44,7 +44,7 @@

Why Timer Ninja?

Performance Tracking,
Without the Pain

-

Everything you need to understand your code's timing behavior — nothing you don't.

+

Full method timing with call hierarchy & argument details — without the weight of a distributed tracing framework.

@@ -54,8 +54,8 @@

One Annotation

🌳
-

Visual Call Tree

-

Nested method calls render as a clear, indented hierarchy. See the full execution flow at a glance.

+

Visual Call Tree + Args

+

See nested method calls as a clear, indented hierarchy — with full argument values. Instantly pinpoint what was called and with which data.

🧩
@@ -73,9 +73,9 @@

Zero Dependencies

Just AspectJ + SLF4J. No framework lock-in. Works with Spring Boot, plain Java, or anything in between.

-
🛡️
-

Thread-Safe

-

Isolated per-thread context via ThreadLocal. Safe for concurrent and multi-threaded applications.

+
+

No Heavy Frameworks

+

Skip the complexity of OpenTelemetry, Zipkin, or Micrometer. Timer Ninja gives you actionable timing insights with zero infrastructure overhead.

@@ -161,6 +161,61 @@

Beautiful Trace Output

+ +
+
+
+ Why Timer Ninja? +

Heavy Tracing Frameworks
Are Overkill

+

Most apps don't need distributed tracing infrastructure just to answer “why is this method slow?”

+
+ +
+
+
+ 🚨 Typical Tracing Framework +
+
+
    +
  • Install collector agent & backend (Jaeger/Zipkin)
  • +
  • Add SDK + multiple dependencies
  • +
  • Configure exporters, samplers, propagators
  • +
  • Manually create spans with Tracer API
  • +
  • Deploy & manage a separate tracing dashboard
  • +
  • Instrument each method individually
  • +
  • Arguments & context? Write custom attributes by hand
  • +
+
+
+ +
+
+ 🧡 Timer Ninja +
+
+
    +
  • One dependency — add to Gradle or Maven
  • +
  • One annotation@TimerNinjaTracker
  • +
  • Auto call hierarchy — nested tree, zero config
  • +
  • Arguments includedincludeArgs = true
  • +
  • Threshold alerts — only see what's slow
  • +
  • No infrastructure — output goes to your existing logs
  • +
  • Works immediately — no dashboards to deploy
  • +
+
+
+
+ +
+
+ Complex infrastructure setup + + 1 annotation, instant insights +
+
+
+
+