Skip to content

chore(benchmarks): remove three redundant benchmark mains#194

Closed
DemchaAV wants to merge 1 commit into
developfrom
chore/bench-cleanup-relics
Closed

chore(benchmarks): remove three redundant benchmark mains#194
DemchaAV wants to merge 1 commit into
developfrom
chore/bench-cleanup-relics

Conversation

@DemchaAV

Copy link
Copy Markdown
Owner

First step of the benchmark-suite modernization (cleanup before adding v1.8 feature-object benches). Benchmark module only — not shipped.

What

Removed three redundant benchmark mains:

  • FullCvBenchmark — duplicated the JMH TemplateCvJmhBenchmark (CV through ModernProfessional) with a hand-rolled, JIT-noisier loop and no JSON/CSV report.
  • GraphComposeBenchmark — early-engine relic measuring the same title+body+divider doc as CurrentSpeedBenchmark's engine-simple scenario.
  • ScalabilityBenchmark — its thread-scaling throughput sweep is folded into CurrentSpeedBenchmark's full-profile run (DEFAULT_FULL_THREAD_COUNTS now 1,2,4,8,16, smoke unchanged — no throughput).

Dropped the matching run-benchmarks.ps1 steps (04-core-engine / 05-full-cv / 06-scalability) and the docs/operations/benchmarks.md + benchmarks/README.md entries.

Kept (deliberately)

ComparativeBenchmark (cross-library vs iText5/JasperReports — wanted for tracking standing vs other libs), the three JMH benches, the deterministic probes (MeasurementCount, RenderOperator, TablePaginationAlloc, AutoSizeMeasure, FontEmbed), and the soak/stress runners (EnduranceTest, GraphComposeStressTest).

Verification

./mvnw -f benchmarks/pom.xml clean compile → BUILD SUCCESS (19 files, was 22); ./mvnw -f benchmarks/pom.xml test → 28 tests, 0 failures (incl. CurrentSpeedBenchmarkPerfGateTest — smoke gate unaffected). No remaining Java/pom references to the removed classes.

Lane: benchmark tooling (perf).

FullCvBenchmark duplicated the JMH TemplateCvJmhBenchmark (CV through
ModernProfessional) with a hand-rolled, JIT-noisier loop and no report.
GraphComposeBenchmark was an early-engine relic measuring the same
title+body+divider doc as CurrentSpeedBenchmark's engine-simple scenario.
ScalabilityBenchmark's thread-scaling sweep is folded into
CurrentSpeedBenchmark's full-profile throughput run (thread counts now
1,2,4,8,16).

Drop the matching run-benchmarks.ps1 steps and the benchmarks.md /
benchmarks/README.md entries. ComparativeBenchmark, the JMH benches, the
deterministic probes, and the soak/stress runners stay. Benchmark module
compiles; its 28 tests pass.
@DemchaAV DemchaAV force-pushed the chore/bench-cleanup-relics branch from 6fdff09 to 917f3ce Compare June 14, 2026 18:04
@DemchaAV

Copy link
Copy Markdown
Owner Author

Не вливаем в develop по-шагово. B1 свёрнут в интеграционную ветку chore/benchmark-modernization — вся модернизация бенчмарков уйдёт в develop одним PR в конце.

@DemchaAV DemchaAV closed this Jun 14, 2026
@DemchaAV DemchaAV deleted the chore/bench-cleanup-relics branch June 14, 2026 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant