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

99
Articles
0
Likes
591
Views
0
Comments
Recent Articles

Latest from ByteDance Web Infra

99 recent articles
ByteDance Web Infra
ByteDance Web Infra
Sep 8, 2022 · Frontend Development

Understanding Incremental Compilation in TypeScript

TypeScript’s incremental compilation, introduced in version 3.4, speeds up build times by reusing previous build information stored in a tsBuildInfoFile, and this article explains the entry points, how old and current programs are created, change detection rules, and configuration of the buildInfo file.

BuildInfoTypeScriptcompilation optimization
0 likes · 9 min read
Understanding Incremental Compilation in TypeScript
ByteDance Web Infra
ByteDance Web Infra
Aug 26, 2022 · Frontend Development

Measuring and Optimizing Site Performance: Metrics, Collection Methods, and Evaluation

This article explains how ByteDance measures website performance, introduces key front‑end performance metrics such as FP, FCP, LCP, TTI, TBT, FID, and MPFID, describes the APIs and code needed to collect them, and discusses how to evaluate and improve overall site performance using these indicators.

OptimizationWeb Performancefrontend
0 likes · 16 min read
Measuring and Optimizing Site Performance: Metrics, Collection Methods, and Evaluation
ByteDance Web Infra
ByteDance Web Infra
Aug 19, 2022 · Fundamentals

In‑Depth Analysis of dlmalloc, jemalloc, Scudo, and PartitionAlloc for Virtual‑Machine Memory Management

This article examines the design goals, key implementation details, strengths and weaknesses of four widely used memory allocators—dlmalloc, jemalloc, Scudo, and PartitionAlloc—highlighting how they address fragmentation, performance, and security in virtual‑machine runtimes and offering guidance for building efficient, safe allocators.

Scudodlmallocjemalloc
0 likes · 27 min read
In‑Depth Analysis of dlmalloc, jemalloc, Scudo, and PartitionAlloc for Virtual‑Machine Memory Management
ByteDance Web Infra
ByteDance Web Infra
Aug 12, 2022 · Frontend Development

Understanding Bundle‑less: Concepts, Performance Findings, and a Self‑Developed Solution

This article explains the bundle‑less approach—including splitting bundles, no‑bundle development, and modular dependency distribution—presents performance tests that suggest an optimal chunk count of 10‑25, evaluates Vite’s advantages and drawbacks, and outlines a self‑built import‑map‑based solution with code examples.

Frontend PerformanceTree-shakingVite
0 likes · 19 min read
Understanding Bundle‑less: Concepts, Performance Findings, and a Self‑Developed Solution
ByteDance Web Infra
ByteDance Web Infra
Aug 8, 2022 · Frontend Development

Design and Architecture of a Multi‑Environment Frontend Monitoring SDK

The article explains how a frontend monitoring SDK can support diverse environments such as web, mini‑programs, and Electron by decoupling logic into interchangeable roles, providing a rich plugin lifecycle, enabling business‑driven extensions, on‑demand loading, and rigorous quality controls while minimizing impact on the host application.

ArchitecturePluginSDK
0 likes · 15 min read
Design and Architecture of a Multi‑Environment Frontend Monitoring SDK
ByteDance Web Infra
ByteDance Web Infra
Jul 22, 2022 · Fundamentals

Challenges and Optimizations for Large Git Repositories

This article examines why Git struggles with monolithic repositories exceeding 100 GB, outlines storage, performance, stability, and reliability challenges, and presents preventive, mid‑process, and post‑process strategies—including LFS, shallow and partial clones, commit‑graph, bitmap, multi‑pack index, and bundle techniques—to efficiently manage and maintain large Git monorepos.

GitOptimizationStorage
0 likes · 16 min read
Challenges and Optimizations for Large Git Repositories
ByteDance Web Infra
ByteDance Web Infra
Jul 8, 2022 · Fundamentals

Git Troubleshooting, Root‑Cause Analysis, and Community Contribution Guide

This article walks through a real Git‑induced failure, explains how to reproduce and diagnose the nested process loop, analyzes the underlying commit‑graph and alternates interactions, and then details step‑by‑step how to seek help and contribute a fix to the Git open‑source community.

Troubleshootingcommunity contributionopen source
0 likes · 14 min read
Git Troubleshooting, Root‑Cause Analysis, and Community Contribution Guide
ByteDance Web Infra
ByteDance Web Infra
Jul 5, 2022 · Frontend Development

ByteDance Dev Better Series: Web Development Efficiency and New Technology Practices – Event Summary

The June 25 ByteDance‑ByteDance Dev Better technical salon, co‑hosted with Huatai Securities, presented a series of front‑end engineering talks covering serverless web development, modern.js engineering, DevOps adoption, and practical Q&A, offering valuable insights and best‑practice recommendations for web developers.

DevOpsModern.jsWeb Development
0 likes · 13 min read
ByteDance Dev Better Series: Web Development Efficiency and New Technology Practices – Event Summary