Skip to content

fix: update Mock Jutsu to v1.1.0 (performance, observability and regression guard) - #864

Open
altansayan wants to merge 1 commit into
undera:masterfrom
altansayan:update-mock-jutsu-1.1.0
Open

fix: update Mock Jutsu to v1.1.0 (performance, observability and regression guard)#864
altansayan wants to merge 1 commit into
undera:masterfrom
altansayan:update-mock-jutsu-1.1.0

Conversation

@altansayan

Copy link
Copy Markdown
Contributor

Updates the Mock Jutsu plugin registry entry from v1.0.1 to v1.1.0.

What changed in v1.1.0

Performance

  • Replaced shared static SecureRandom with a pool -- eliminates lock contention under high thread counts
  • Replaced pure-Java BigInteger EC crypto with JDK native APIs -- crypto types drop from 8-22 ms to <1 ms
  • MaskerUtil now caches compiled Patterns as static finals
  • JWT generator consolidated to single SecureRandom instance

Bug fixes

  • 12 _masked types were missing from the registry (documented but unregistered)
  • Multi-type JSON output could produce invalid JSON -- missing control-char escapes
  • Raw NUL byte in CryptoFuzzGen caused the file to be detected as binary

Observability

  • SLF4J logging added to all generators -- exceptions are no longer silently swallowed

Architecture / Testing

  • O(1) Map dispatch replacing 45 sequential Set.contains checks
  • Per-type performance regression guard added for all 429 type+qualifier combos (CI-enforced)

Links

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