ben-bakerousm4273 GitHub avatar

browser-automation-benchmark-v2026

ben-bakerousm4273

一个可重复的浏览器自动化基准测试工具,比较 Python Playwright、Rust playwright-rs 和 Rust chromiumoxide 在速度、内存、可靠性和启动时间上的表现,支持合成和真实世界测试用例。

Stars

7

7 天增长

暂无数据

Fork 数

0

开放 Issue

0

开源协议

GPL-3.0

最近更新

2026-07-28

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它提供了一个统一的、可复现的框架用于跨两种语言的浏览器自动化后端对比,通过受控预热和交错执行减少测量噪声。

适合谁使用

  • 评估浏览器自动化栈的开发者
  • 研究无头浏览器性能的研究人员
  • 比较 Python 与 Rust 的网络爬虫工程师
  • 寻找可靠基准测试方法的工具维护者

典型使用场景

  • 比较 Playwright 在 Python 和 Rust 中的执行速度
  • 测量 chromiumoxide 与 playwright-rs 的内存消耗
  • 评估不同运行时下的浏览器启动时间
  • 验证自动化后端在重复运行中的可靠性

项目优势

  • 在统一框架下测量四项关键指标(速度、内存、可靠性、启动时间)
  • 通过交错执行和预热处理提高不同会话间的一致性
  • 同时支持合成 HTML 测试用例和真实 Google Maps 捕获
  • 保存原始运行记录及汇总统计数据以便详细分析

使用前须知

  • 仅支持基于 Chromium 的浏览器(不支持 Firefox 或 WebKit)
  • 需要同时配置 Python 环境和 Rust 工具链,增加了部署复杂性
  • 仅限三个后端:Python Playwright、Rust playwright-rs 和 Rust chromiumoxide

README 快速开始

Getting started

项目描述

Repeatable browser automation benchmark suite for Python and Rust, comparing Playwright with Chromium-based runners across speed, memory consumption, reliability, and startup time.

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

ddosi
精选
ddosi GitHub avatar

PacketLens

PacketLens is a pure front-end, offline pcap analysis tool that runs entirely in the browser, supporting deep protocol decoding, HTTPS decryption, and million-packet instant loading without any backend.

HTML
17
ViffyGwaanl
精选
ViffyGwaanl GitHub avatar

kimi-k3-learn

An interactive learning system that turns the 47-page Kimi K3 technical report into a single offline HTML file with running algorithms, 3D visualizations, spaced repetition quizzes, and a smart highlighting QA tool.

AI 与机器学习
15
iamtechartist
精选
iamtechartist GitHub avatar

human-cell-visualizer

An interactive 3D visualization of three human cell types using Three.js, WebGL particles, and custom GLSL shaders, allowing users to rotate, zoom, morph, and explore annotated structures.

设计与创意
13