ByteDance Web Infra
Author

ByteDance Web Infra

ByteDance Web Infra team, focused on delivering excellent technical solutions, building an open tech ecosystem, and advancing front-end technology within the company and the industry | The best way to predict the future is to create it

101
Articles
0
Likes
732
Views
0
Comments
Recent Articles

Latest from ByteDance Web Infra

100 recent articles max
ByteDance Web Infra
ByteDance Web Infra
Aug 6, 2025 · Frontend Development

How Tree Shaking Differs Across Webpack, esbuild, Turbopack, and Rollup

This article provides a concise overview of tree shaking mechanisms in major JavaScript bundlers—Webpack/Rspack, esbuild, Turbopack, and Rollup—explaining their implementation stages, static analysis techniques, optimization trade‑offs, and practical code examples that highlight each tool's strengths and limitations.

RollupTurbopackcode optimization
0 likes · 20 min read
How Tree Shaking Differs Across Webpack, esbuild, Turbopack, and Rollup
ByteDance Web Infra
ByteDance Web Infra
Aug 1, 2025 · Frontend Development

Why Module Federation 2.0 Is Revolutionizing Frontend Architecture

This article explores the evolution from Module Federation 1.0 to 2.0, detailing its architecture, pain points, new features, supported build tools, performance improvements, and how developers can adopt it across web and native platforms.

Build ToolsFrontend ArchitectureMicro Frontends
0 likes · 9 min read
Why Module Federation 2.0 Is Revolutionizing Frontend Architecture
ByteDance Web Infra
ByteDance Web Infra
Jul 8, 2025 · Fundamentals

How to Build Ultra‑Fast Static Query Maps in Rust Without Runtime Overhead

This article explains why embedding large static JSON data is inefficient, introduces Minimal Perfect Hash Functions (MPHF) and various static map constructions, shows how to pack strings and avoid relocation overhead, and demonstrates the resulting improvements in binary size, lookup speed, memory usage, and compile time.

Rustcompile-time optimizationminimal perfect hash
0 likes · 12 min read
How to Build Ultra‑Fast Static Query Maps in Rust Without Runtime Overhead
ByteDance Web Infra
ByteDance Web Infra
Jul 3, 2025 · Artificial Intelligence

How the New XPath‑Based Cache Boosts AI Automation Performance by 37%

The update introduces a YAML‑based cache with precise XPath targeting, dual‑validation and smart fallback, a structured API for extracting booleans, numbers, strings and queries, enhanced replay reports with custom nodes and video export, plus extensive web, Android, and reporting optimizations that dramatically improve performance and reduce report size.

AI automationJavaScriptcaching
0 likes · 5 min read
How the New XPath‑Based Cache Boosts AI Automation Performance by 37%
ByteDance Web Infra
ByteDance Web Infra
Jun 30, 2025 · Artificial Intelligence

How Midscene MCP Empowers AI Assistants to Automate Browser Tasks

Midscene MCP provides a standardized Model Context Protocol that lets AI models interact with browsers, offering tools for navigation, tab management, UI interaction, verification, and reporting, along with setup instructions, configuration examples, and FAQs to help developers automate web tasks efficiently.

AIMCPMidscene
0 likes · 7 min read
How Midscene MCP Empowers AI Assistants to Automate Browser Tasks
ByteDance Web Infra
ByteDance Web Infra
Apr 10, 2025 · Frontend Development

Introducing next-rspack: Seamless Rspack Integration for Next.js with Performance Benchmarks and Future Roadmap

The article announces the next-rspack plugin that enables Next.js to use Rspack as a high‑performance, webpack‑compatible bundler, outlines current performance characteristics for App and Page routers, details collaboration with Vercel, and presents a roadmap for further enhancements and community involvement.

BundlerNext.jsRspack
0 likes · 10 min read
Introducing next-rspack: Seamless Rspack Integration for Next.js with Performance Benchmarks and Future Roadmap
ByteDance Web Infra
ByteDance Web Infra
Mar 31, 2025 · Frontend Development

Rspack 1.3 Release: New Features, Performance Optimizations, Rstack Progress, Ecosystem Updates, and Upgrade Guide

Rspack 1.3 introduces circular‑dependency detection, HTTP imports, lazy‑compilation middleware, AMD module support, 25% faster code splitting, output size reductions, macOS memory optimizations, updates to the Rstack ecosystem (Rsdoctor 1.0, Rsbuild 1.3, Rslib 0.6, Rspress 2.0, Rstest), plus detailed upgrade instructions for module types and SWC plugins.

AMD supportFrontend BuildLazy Compilation
0 likes · 12 min read
Rspack 1.3 Release: New Features, Performance Optimizations, Rstack Progress, Ecosystem Updates, and Upgrade Guide
ByteDance Web Infra
ByteDance Web Infra
Mar 21, 2025 · Artificial Intelligence

Midscene.js: An AI‑Driven UI Automation Framework from ByteDance

Midscene.js is an open‑source UI automation framework that leverages multimodal AI to simplify web UI testing and interaction, offering three core interfaces—Action, Query, and Assert—along with a JavaScript SDK, support for multiple AI models, YAML scripting, and future‑focused features for stable, scalable automation.

AIJavaScriptMidscene.js
0 likes · 21 min read
Midscene.js: An AI‑Driven UI Automation Framework from ByteDance