SpBench:用于跨引擎湖仓基准测试的智能体原生框架
SpBench: An Agent-Native Framework for Cross-Engine Lakehouse Benchmarking
AI总结:
本研究提出智能体原生框架SpBench,用于跨引擎湖仓基准测试,可快速开发400余个基准查询检测性能退化,为生产数据引擎提供性能洞察并推动改进。
摘要:
SpBench是一款智能体原生框架,用于跨引擎湖仓基准测试,目前已投入生产使用,可对Snowpark、Snowpark Connect for Apache Spark等执行环境,以及TPCx-BB、TPC-DI等标准化套件,还有从生产工作负载模式中提炼的自定义基准进行测试。它可在广泛的工作负载组合中持续运行,为生产级数据引擎的性能路线图提供指导并检测性能退化。以往的基准测试是一项昂贵的投入,需要持续的跨职能协作和领域专业知识,导致难以获得可操作的性能洞察。SpBench提供三项核心功能:(i)类型化、代码生成的基准底层,可将平台无关的基准定义编译为公平、可比较的平台特定实现;(ii)结构化遥测契约,将每次运行记录为可查询的事实和维度数据,使LLM智能体能够确定性地查询结果;(iii)由三项可组合技能构成的智能体原生工具,可加快基准构建和结果分析的速度。这种智能体原生架构支持快速开发出400多个基准查询,这些查询可定期运行以检测性能退化,而检测到的这些退化直接推动了生产环境的改进。
英文摘要:
SpBench is an agent-native framework for cross-engine lakehouse benchmarking, in production use for benchmarking Snowpark, Snowpark Connect for Apache Spark, and other execution environments across standardized suites -- such as TPCx-BB and TPC-DI -- and custom benchmarks distilled from production workload patterns. It runs continuously across a broad portfolio of workloads, guiding the performance roadmap and detecting regressions for production-scale data engines. Benchmarking has historically been an expensive investment requiring continuous cross-functional collaboration and domain expertise, making it difficult to obtain actionable performance insights. SpBench provides (i) a typed, code-generated benchmark substrate that compiles platform-agnostic benchmark definitions into fair, comparable platform-specific implementations; (ii) a structured-telemetry contract recording every run as queryable fact and dimension data, letting LLM agents query results deterministically; and (iii) an agent-native harness of three composable skills to expedite building benchmarks and analyzing results. This agent-native architecture enabled the rapid development of more than 400 benchmark queries that run on a regular cadence to detect performance regressions; catching these has directly led to improvements in production.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。