Coder Social home page Coder Social logo

icu-messageformat-parser's Introduction

WIP: Parser written with parser combinetor instead of code-generated.

Benchmark

complex_msg AST length 1978
normal_msg AST length 400
simple_msg AST length 79
string_msg AST length 36
complex_msg x 2,494 ops/sec ±0.89% (89 runs sampled)
normal_msg x 10,156 ops/sec ±0.27% (96 runs sampled)
simple_msg x 53,737 ops/sec ±0.29% (95 runs sampled)
string_msg x 108,060 ops/sec ±0.60% (94 runs sampled)

vs. intl-messageformat-parser:

complex_msg AST length 1978
normal_msg AST length 400
simple_msg AST length 79
string_msg AST length 36
complex_msg x 4,218 ops/sec ±0.86% (90 runs sampled)
normal_msg x 29,686 ops/sec ±0.64% (90 runs sampled)
simple_msg x 129,604 ops/sec ±0.69% (94 runs sampled)
string_msg x 166,476 ops/sec ±0.82% (87 runs sampled)

icu-messageformat-parser's People

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.