Skip to content

feat(benchmark): export mitata as benchmark lib#4

Merged
LuanRoger merged 4 commits intomainfrom
feat/benchmark
Sep 1, 2025
Merged

feat(benchmark): export mitata as benchmark lib#4
LuanRoger merged 4 commits intomainfrom
feat/benchmark

Conversation

@LuanRoger
Copy link
Owner

This pull request introduces benchmarking support to the project by integrating the mitata library and updating relevant configuration and package files. It also includes minor refactoring in the WASM plugin and updates to TypeScript configuration for improved compatibility.

Benchmarking Integration

  • Added the mitata benchmarking library to package.json dependencies and updated the lock file to include it. [1] [2] [3] [4]
  • Created a new entry point src/benchmark/index.ts that re-exports mitata for use throughout the project.
  • Registered benchmark/index as a build entry in tsdown.config.ts and exposed it in the package exports. [1] [2]

WASM Plugin Refactoring

  • Removed the unused TS_TEMP_EXTENSION constant and its usage from WASM plugin files to simplify file handling. [1] [2] [3]
  • Refactored temporary file path generation in the WASM plugin to use the standalone environment output path, improving reliability.

TypeScript Configuration Update

  • Updated src/dev/tsconfig/base.json to extend from assemblyscript/std/portable.json, adjust library settings, and clean up compiler options for better compatibility with AssemblyScript and portable environments.

@LuanRoger LuanRoger merged commit 7e66c52 into main Sep 1, 2025
@LuanRoger LuanRoger deleted the feat/benchmark branch September 1, 2025 20:31
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