Skip to content

v2.2.0

Choose a tag to compare

@Igor-Losev Igor-Losev released this 09 May 13:49
· 99 commits to main since this release
21060da

New Features

  • @deademx/engine: Added entityClasses allowlist to ParserConfiguration. 4–6× throughput for entity consumers (6.0× on Deadlock, 4.6× on Dota 2).
  • @deademx/engine: Added EntityMutationEvent.getChanges() — returns an object keyed by field name with only the fields modified by the current packet.

Bug Fixes

  • @deademx/engine: Fixed parser.extract() throwing TypeError when aborted mid-extraction (internal _isAbortError_getIsAbortError typo).

Improvements

  • @deademx/engine: BitBuffer hot-path optimizations — ~10% parser throughput improvement on entity-heavy parses.

Examples

  • examples-node-deadem: Added 108_parse_entity_field_stats.js — ranks entity classes and fields by mutation volume using getChanges().
  • examples-node-dota2: Added 104_parse_entity_field_stats.js — Dota 2 counterpart.
  • examples-node-deadem: Updated kill feed, ability feed, mid boss deaths, tower deaths, and game time scripts to use the new entityClasses filter.

Documentation

  • Rewrote @deademx/engine Performance section with a compact 3-case configuration table; refreshed deadem and @deademx/dota2 performance tables with RSS measurements from isolated-run benchmarks.