awesome-repositories.com
Blog
MCP
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
nolanlawson avatar

nolanlawson/optimize-js

0
View on GitHub↗
3,734 stars·100 forks·JavaScript·Apache-2.0·7 vuesnolanlawson.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.

Historique des stars

Graphique de l'historique des stars pour nolanlawson/optimize-jsGraphique de l'historique des stars pour nolanlawson/optimize-js

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Questions fréquentes

Que fait 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.

Quelles sont les fonctionnalités principales de nolanlawson/optimize-js ?

Les fonctionnalités principales de nolanlawson/optimize-js sont : 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.

Quelles sont les alternatives open-source à nolanlawson/optimize-js ?

Les alternatives open-source à nolanlawson/optimize-js incluent : 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… benjamn/recast — Recast is a JavaScript AST parser and printer designed for automated code refactoring. It converts source code into… react/metro — Metro is a JavaScript bundler designed for React Native environments. It functions as a system for resolving… konsoletyper/teavm — TeaVM is a Java bytecode transpiler and browser-based JVM runtime that converts compiled Java class files into…

Alternatives open source à Optimize Js

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Optimize Js.
  • google/closure-compiler-jsAvatar de google

    google/closure-compiler-js

    1,834Voir sur 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
    Voir sur GitHub↗1,834
  • google/closure-compilerAvatar de google

    google/closure-compiler

    7,663Voir sur 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
    Voir sur GitHub↗7,663
  • babel/minifyAvatar de babel

    babel/minify

    4,376Voir sur 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
    Voir sur GitHub↗4,376
  • benjamn/recastAvatar de benjamn

    benjamn/recast

    5,246Voir sur 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
    Voir sur GitHub↗5,246
  • Voir les 30 alternatives à Optimize Js→