awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ai avatar

ai/size-limit

0
View on GitHub↗
6,911 星标·1,778 分支·JavaScript·MIT·7 次浏览

Size Limit

size-limit is a set of specialized tools for measuring JavaScript bundle sizes and enforcing performance budgets within continuous integration pipelines. It functions as a bundle size monitor and budget enforcer that can reject pull requests when JavaScript bundles exceed predefined size thresholds.

The project distinguishes itself by providing a browser-based execution profiler that calculates the time required to compile and execute JavaScript on simulated low-end hardware. It also includes a tree-shaking validator that analyzes partial import bundle sizes to verify that unused code is correctly removed.

The toolset covers bundle composition analysis to identify the size contribution of internal and external dependencies. It further integrates with CI pipelines to provide automated performance monitoring and feedback loops directly within pull requests.

Features

  • Performance Threshold Enforcement - Automatically fails builds when JavaScript bundle sizes exceed predefined quantitative performance thresholds.
  • Bundle Composition Analyzers - Decomposes JavaScript bundles to quantify the size contribution of individual internal and external modules.
  • Bundle Size Analyzers - Measures the final size of JavaScript bundles and calculates the impact of imported packages.
  • Browser Execution Profilers - Calculates the time required to compile and execute JavaScript on simulated low-end hardware via a browser.
  • CI/CD Pipeline Integrations - Integrates bundle size monitoring and performance budget checks directly into CI/CD quality workflows.
  • Tree-Shaking Validators - Validates tree-shaking effectiveness by measuring bundle size changes when only specific exports are imported.
  • Hardware-Constrained Profilers - Simulates low-end device constraints to estimate the real-world performance cost of JavaScript execution.
  • Bundle Budgeting - Prevents performance regressions by failing builds when JavaScript bundles exceed a predefined size limit.
  • Tree-Shaking Validators - Tests final bundle sizes using partial imports to verify that the bundler correctly removes unused code.
  • Tree-Shaking Validators - Verifies that bundlers correctly remove unused code by analyzing partial import bundle sizes.
  • Code Dependency Analysis - Extracts and analyzes which external libraries contribute most to the total bundle size.
  • Feedback Loops - Posts automated bundle size reports and status checks directly to pull requests to shorten the verification cycle.
  • Browser Performance Simulation - Measures the actual time it takes for a browser to compile and execute JavaScript on limited hardware.
  • Browser-Based Execution Timing - Calculates the time required to compile and execute JavaScript on simulated low-end hardware using a headless browser.
  • Bundle Performance Monitoring - Automatically reports bundle size changes and execution costs within pull requests to maintain application speed.
  • Headless Browsers - Uses headless browser engines to measure actual JavaScript compilation and execution time in a controlled environment.
  • JavaScript Optimization - Prevents bundle size bloat by setting performance budgets.
  • Project Documentation Examples - Features a logo, clear description, and installation steps.

Star 历史

ai/size-limit 的 Star 历史图表ai/size-limit 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

ai/size-limit 是做什么的?

size-limit is a set of specialized tools for measuring JavaScript bundle sizes and enforcing performance budgets within continuous integration pipelines. It functions as a bundle size monitor and budget enforcer that can reject pull requests when JavaScript bundles exceed predefined size thresholds.

ai/size-limit 的主要功能有哪些?

ai/size-limit 的主要功能包括:Performance Threshold Enforcement, Bundle Composition Analyzers, Bundle Size Analyzers, Browser Execution Profilers, CI/CD Pipeline Integrations, Tree-Shaking Validators, Hardware-Constrained Profilers, Bundle Budgeting。

ai/size-limit 有哪些开源替代品?

ai/size-limit 的开源替代品包括: pastelsky/bundlephobia — Bundlephobia is a suite of tools for analyzing the composition and size of JavaScript dependencies from the npm… zouhir/jarvis — Jarvis is a suite of utilities for Webpack projects designed for bundle analysis, tree-shaking audits, build error… react-boilerplate/react-boilerplate — This is a foundational project structure for building scalable web applications using React. It provides a… sindresorhus/pageres — Pageres is an automated web page capturer and command line interface that renders HTML content and websites into… danvk/source-map-explorer — source-map-explorer is a source map bundle analyzer that visualizes the space usage of bundled JavaScript files. It… anthropics/original_performance_takehome — This project is an algorithmic performance benchmarking tool and execution cycle simulator. It functions as a…

Size Limit 的开源替代方案

相似的开源项目,按与 Size Limit 的功能重合度排序。
  • pastelsky/bundlephobiapastelsky 的头像

    pastelsky/bundlephobia

    9,534在 GitHub 上查看↗

    Bundlephobia is a suite of tools for analyzing the composition and size of JavaScript dependencies from the npm registry. It functions as a bundle analyzer and size monitor that calculates the total footprint of frontend packages and stylesheets to determine their impact on page load performance. The project identifies specific components contributing to bundle size through asset composition analysis and package auditing. It also generates visual size indicators and badges that can be embedded in documentation and version control repositories to communicate package dimensions. The platform m

    TypeScriptcostdependenciesnpm-package
    在 GitHub 上查看↗9,534
  • zouhir/jarviszouhir 的头像

    zouhir/jarvis

    5,459在 GitHub 上查看↗

    Jarvis is a suite of utilities for Webpack projects designed for bundle analysis, tree-shaking audits, build error debugging, and network performance simulation. It provides a browser-based dashboard to visualize asset distributions and monitor the total size of bundles and chunks. The project includes a network performance simulator that estimates how assets load across various connection types and speeds. It also features a tree-shaking analysis tool that measures the ratio of shakeable to non-shakeable module imports to identify opportunities for bundle size reduction. Additional capabili

    JavaScriptbuild-tooldashboardwebpack
    在 GitHub 上查看↗5,459
  • react-boilerplate/react-boilerplatereact-boilerplate 的头像

    react-boilerplate/react-boilerplate

    29,490在 GitHub 上查看↗

    This is a foundational project structure for building scalable web applications using React. It provides a standardized directory structure and build tools to accelerate the bootstrapping of new projects, featuring a Redux architecture for predictable state management through unidirectional data flow and an immutable store. The project is distinguished by a command-line interface for generating standardized components, containers, and routes from predefined templates. It implements an offline-first framework using service workers to enable progressive web app functionality, alongside a compon

    JavaScripti18nimmeroffline-first
    在 GitHub 上查看↗29,490
  • sindresorhus/pageressindresorhus 的头像

    sindresorhus/pageres

    9,743在 GitHub 上查看↗

    Pageres is an automated web page capturer and command line interface that renders HTML content and websites into images. It uses a headless Chromium browser to generate screenshots of full pages or specific elements across multiple screen resolutions. The tool allows for the simulation of different device dimensions to verify responsive design and the creation of visual snapshots for UI regression testing. It supports the capture of protected pages by passing custom HTTP headers, cookies, and basic authentication credentials. The system includes capabilities for page content manipulation thr

    TypeScript
    在 GitHub 上查看↗9,743
查看 Size Limit 的所有 30 个替代方案→