Skip to content

feat: add frontend viewport benchmark#57

Merged
zuhanit merged 3 commits intomasterfrom
feat/benchmark
Mar 28, 2026
Merged

feat: add frontend viewport benchmark#57
zuhanit merged 3 commits intomasterfrom
feat/benchmark

Conversation

@zuhanit
Copy link
Copy Markdown
Owner

@zuhanit zuhanit commented Mar 28, 2026

Summary

  • Vitest bench 기반 프론트엔드 뷰포트 렌더링 벤치마크 추가
  • RendererBenchmark 인터페이스로 Canvas2D/pixi.js 구현 간 성능 비교 가능
  • GitHub Actions workflow로 벤치마크 자동 실행 및 결과 artifact 저장

Changes

  • frontend/benchmarks/adapter.tsRendererBenchmark 인터페이스 + Canvas2DBenchmark 구현
  • frontend/benchmarks/viewport.bench.ts — terrain, location, compose, paint 벤치마크
  • frontend/benchmarks/fixtures/ — 테스트 데이터 팩토리
  • frontend/vitest.bench.config.ts — 벤치마크 전용 vitest config (Playwright 브라우저 모드)
  • .github/workflows/bench.yml — 벤치마크 CI workflow

Test plan

  • cd frontend && pnpm bench 실행하여 벤치마크 결과 확인
  • GitHub Actions에서 workflow 정상 실행 확인

🤖 Generated with Claude Code

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
webditor Ready Ready Preview, Comment Mar 28, 2026 6:33am

@zuhanit zuhanit added the enhancement New feature or request label Mar 28, 2026
@zuhanit zuhanit self-assigned this Mar 28, 2026
@zuhanit zuhanit added this to the 0.1.0 milestone Mar 28, 2026
@zuhanit zuhanit linked an issue Mar 28, 2026 that may be closed by this pull request
@zuhanit zuhanit merged commit daed42e into master Mar 28, 2026
6 checks passed
@zuhanit zuhanit deleted the feat/benchmark branch March 28, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add benchmark feature

1 participant