中文 | English
Performance
This document is lengthy and has no English translation yet.
The section outline below mirrors the Chinese source document; see perf.md for the original.
- 模块概述
- 设置性能配置
- set_config(config) / setConfig(config)
- 获取性能配置
- get_config() / getConfig()
- 预加载图像
- preload_image(path) / preloadImage(path)
- 清理缓存
- clear_cache() / clearCache()
- 获取缓存统计
- get_cache_stats() / getCacheStats()
- 获取缓存大小
- get_cache_size() / getCacheSize()
- 快速查找图像
- fast_find_image(...) / fastFindImage(...)
- 并行查找颜色
- parallel_find_colors(...) / parallelFindColors(...)
- 获取性能统计
- get_stats() / getStats()
- 重置性能统计
- reset_stats() / resetStats()
- 可用接口
- 配置选项