Skip to content

cobolrt performance: benchmark vs COBOL batch volumes, then add proven fast paths #4717

Open

Description

@squid-protocol

What. Mainframe batch jobs process huge volumes. Exact decimal arithmetic with BigDecimal for every operation may be slow.

  1. Benchmark: representative batch ports (CardDemo batch, POSTTRAN, intcalc, mortgage) at realistic record counts. Measure throughput, allocations, and the hot rules (JMH where useful).
  2. Fast paths: e.g. long arithmetic when the digits fit, precomputed codecs, fewer allocations. Each fast path must be proven identical: unit vectors, full det sweep, and the differential fuzz against cobc gives 0 diffs, with an A/B fuzz between fast and slow paths.

Acceptance.

  • Benchmark harness committed, with baseline numbers.
  • At least the top hot rule has a proven fast path.
  • Before/after numbers.
  • No verdict change.

Part of the cobolrt-as-a-product epic (linked from the epic). Owner-approved direction, 2026-10-08.

🤖 Generated with Claude Code

Activity

  1. added
    enhancement
    legacy-modernization
    on Oct 8, 2026
  2. added
    scope:frontier
    on Oct 16, 2026
  3. added
    needs:corpus
    needs:docker
    on Oct 18, 2026
  4. added a commit that references this issue on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementlegacy-modernizationneeds:corpusneeds:dockerpriority: mediumscope:frontier

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions