From 559baa56027105e10da5795f6c759d3ac284b228 Mon Sep 17 00:00:00 2001 From: Boshen Date: Mon, 12 Aug 2024 13:55:23 +0800 Subject: [PATCH] docs(parser): clean up doc regarding performance; remove conformance conformance is removed due to needing to keep it updated. --- crates/oxc_parser/src/lib.rs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/crates/oxc_parser/src/lib.rs b/crates/oxc_parser/src/lib.rs index 531a38fa3..f6dc09547 100644 --- a/crates/oxc_parser/src/lib.rs +++ b/crates/oxc_parser/src/lib.rs @@ -4,27 +4,10 @@ //! //! The following optimization techniques are used: //! * AST is allocated in a memory arena ([bumpalo](https://docs.rs/bumpalo)) for fast AST drop -//! * Short strings are inlined by [CompactString](https://github.com/ParkMyCar/compact_str) -//! * No other heap allocations are done except the above two //! * [oxc_span::Span] offsets uses `u32` instead of `usize` //! * Scope binding, symbol resolution and complicated syntax errors are not done in the parser, //! they are delegated to the [semantic analyzer](https://docs.rs/oxc_semantic) //! -//! # Conformance -//! The parser parses all of Test262 and most of Babel and TypeScript parser conformance tests. -//! -//! See [oxc coverage](https://github.com/Boshen/oxc/tree/main/tasks/coverage) for details -//! ``` -//! Test262 Summary: -//! AST Parsed : 44000/44000 (100.00%) -//! -//! Babel Summary: -//! AST Parsed : 2065/2071 (99.71%) -//! -//! TypeScript Summary: -//! AST Parsed : 2337/2337 (100.00%) -//! ``` -//! //! # Usage //! //! The parser has a minimal API with three inputs and one return struct ([ParserReturn]).