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

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

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

nolanlawson/optimize-js

0
View on GitHub↗
3,734 星标·100 分支·JavaScript·Apache-2.0·6 次浏览nolanlawson.github.io/optimize-js↗

Optimize Js

Optimize-js is a JavaScript parsing optimizer designed to reduce the time browsers spend pre-parsing scripts to improve initial execution speed. It transforms source code to minimize the overhead associated with browser parsing.

The project implements a technique that wraps function calls in parentheses to bypass initial pre-parsing and reduce double-parsing overhead. To maintain the utility of the transformed code, it includes a source map generator that links the optimized output back to the original source.

The toolset also includes performance benchmarking capabilities to measure the exact time a browser takes to parse files, allowing for the quantification of the impact of these optimizations.

Features

  • JavaScript Optimizers and Minifiers - Provides a tool that transforms JavaScript source code to reduce browser pre-parsing overhead and improve execution speed.
  • Source Map Generators - Generates source maps to ensure optimized production scripts can be debugged using the original source code.
  • Bytecode-to-Source Mapping - Generates source maps that link optimized output back to original source lines for debugging.
  • Parsing Optimizations - Utilizes parentheses-based wrapping to increase the efficiency of the browser parsing process.
  • JavaScript Source Transformers - Transforms JavaScript source code through AST manipulation to reduce browser pre-parsing overhead.
  • Parse-Bypass Wrapping - Wraps function calls in parentheses to bypass initial browser pre-parsing and reduce double-parsing overhead.
  • Syntax Tree Transformers - Implements syntax tree transformers to identify and wrap specific function call patterns for optimization.
  • Parse-Speed Benchmarking - Ships a utility for measuring the time a browser takes to parse files to evaluate optimizations.
  • Parse-Time Profilers - Provides a utility for measuring the time browsers spend parsing files to evaluate optimization impact.
  • Performance Benchmarks - Measures the exact time browsers take to parse scripts to validate the impact of optimizations.
  • Browser-Based Execution Timing - Quantifies the actual time spent on parsing by executing optimized code in a real browser environment.

Star 历史

nolanlawson/optimize-js 的 Star 历史图表nolanlawson/optimize-js 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

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

Start searching with AI

Optimize Js 的开源替代方案

相似的开源项目,按与 Optimize Js 的功能重合度排序。
  • google/closure-compiler-jsgoogle 的头像

    google/closure-compiler-js

    1,834在 GitHub 上查看↗

    Closure Compiler is a JavaScript build utility designed to transform, optimize, and validate source code for production environments. It functions as a minifier and transpiler, converting modern ECMAScript syntax into older, widely compatible versions to ensure reliable execution across diverse browsers. The tool distinguishes itself through a multi-pass optimization pipeline that performs complex refactoring, such as constant folding, function inlining, and variable renaming. It utilizes a static type inference engine to detect potential runtime errors and enforce type safety without requiri

    JavaScript
    在 GitHub 上查看↗1,834
  • google/closure-compilergoogle 的头像

    google/closure-compiler

    7,663在 GitHub 上查看↗

    This project is a JavaScript optimizer, minifier, module bundler, transpiler, and static analysis tool. It provides a compilation pipeline designed to shrink file sizes and improve runtime performance. The system utilizes a multi-pass compilation process to perform dead code elimination, global name mangling, and static type inference. It identifies unreachable functions and unused variables to reduce the final output size and detects potential runtime errors without executing the code. The tool manages assets through dependency resolution, code chunking, and bundle management. It ensures co

    JavaScript
    在 GitHub 上查看↗7,663
  • babel/minifybabel 的头像

    babel/minify

    4,376在 GitHub 上查看↗

    This project is an AST-based code optimizer and compressor for modern ECMAScript, JSX, and TypeScript source code. It functions as a JavaScript minifier that uses the Babel toolchain to reduce file size by removing unnecessary characters and whitespace while preserving program logic. The tool is distinguished by its ability to process experimental language proposals and transform modern syntax into browser-compatible versions. It provides specialized handling for React JSX transpilation and strips type annotations from TypeScript files to produce compressed production assets. The system cove

    JavaScript
    在 GitHub 上查看↗4,376
  • benjamn/recastbenjamn 的头像

    benjamn/recast

    5,246在 GitHub 上查看↗

    Recast is a JavaScript AST parser and printer designed for automated code refactoring. It converts source code into abstract syntax trees that can be modified and then printed back into source code. The project focuses on formatting-preserving transformations, storing original whitespace and indentation metadata within syntax tree nodes to reconstruct code without losing its original layout. It also generates character-level source maps to maintain precise correspondences between original input and transformed output. The toolkit includes utilities for syntax tree manipulation using a visito

    TypeScript
    在 GitHub 上查看↗5,246
查看 Optimize Js 的所有 30 个替代方案→

常见问题解答

nolanlawson/optimize-js 是做什么的?

Optimize-js is a JavaScript parsing optimizer designed to reduce the time browsers spend pre-parsing scripts to improve initial execution speed. It transforms source code to minimize the overhead associated with browser parsing.

nolanlawson/optimize-js 的主要功能有哪些?

nolanlawson/optimize-js 的主要功能包括:JavaScript Optimizers and Minifiers, Source Map Generators, Bytecode-to-Source Mapping, Parsing Optimizations, JavaScript Source Transformers, Parse-Bypass Wrapping, Syntax Tree Transformers, Parse-Speed Benchmarking。

nolanlawson/optimize-js 有哪些开源替代品?

nolanlawson/optimize-js 的开源替代品包括: google/closure-compiler-js — Closure Compiler is a JavaScript build utility designed to transform, optimize, and validate source code for… google/closure-compiler — This project is a JavaScript optimizer, minifier, module bundler, transpiler, and static analysis tool. It provides a… babel/minify — This project is an AST-based code optimizer and compressor for modern ECMAScript, JSX, and TypeScript source code. It… react/metro — Metro is a JavaScript bundler designed for React Native environments. It functions as a system for resolving… benjamn/recast — Recast is a JavaScript AST parser and printer designed for automated code refactoring. It converts source code into… konsoletyper/teavm — TeaVM is a Java bytecode transpiler and browser-based JVM runtime that converts compiled Java class files into…