cmd\bench\main.mbt

0% · 0 / 7 points · 17 lines

Background color reports the state of each line. Underlined characters mark exact instrumented byte offsets; hover them to inspect the visit count.

  1. 1///|
  2. 2/// walkzzz/image.mbt 基准运行器指引 — 真实尺寸基准已迁移至 moon bench 框架。
  3. 3fn main {
  4. 4○ println("walkzzz/image.mbt benchmarks")
  5. 5○ println("")
  6. 6○ println(
  7. 7 "真实尺寸基准(1024²/4096² PNG 编解码 + resize)使用 MoonBit bench 框架:",
  8. 8 )
  9. 9○ println(" moon bench --target native")
  10. 10○ println("")
  11. 11○ println(
  12. 12 "基准实现:根包 bench_real.mbt(png_encode/decode_1024 & 4096、resize_cover_1024_to_512)",
  13. 13 )
  14. 14○ println(
  15. 15 "完整报告(46 项历史基准 + 真实尺寸数据):docs/performance_report.md",
  16. 16 )
  17. 17}