mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
docs(parser): clean up doc regarding performance; remove conformance
conformance is removed due to needing to keep it updated.
This commit is contained in:
parent
8ddc2a38be
commit
559baa5602
1 changed files with 0 additions and 17 deletions
|
|
@ -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]).
|
||||
|
|
|
|||
Loading…
Reference in a new issue