Git Product home page Git Product logo

asciidoctor.js-jvm's Introduction

Asciidoctor.js on the JVM

Build

Use Maven to build the project:

$ mvn clean package

Benchmark

GraalVM

/path/to/graalvm-jdk/bin/java -jar graalvm/target/asciidoctor-js-graalvm.jar

Nashorn

/path/to/jdk/bin/java -jar nashorn/target/asciidoctor-js-nashorn.jar

Result

GraalVM (GraalVM CE 1.0.0-rc7)
time graalvm-ce-1.0.0-rc7/bin/java -jar graalvm/target/asciidoctor-js-graalvm.jar
-- GraalVM
warmup
start
Run create#1
Run create#2
Run create#3
Run create#4
Run create#5
load: [217, 265, 193, 295, 279]
instantiate: [168, 229, 140, 229, 642]
Run call#1
Run call#2
Run call#3
Run call#4
Run call#5
Run call#6
Run call#7
Run call#8
Run call#9
Run call#10
convert: [9594, 5736, 4649, 3505, 3302, 3024, 2873, 2657, 2743, 2491]
getVersion: [0, 0, 0, 1, 0, 0, 0, 0, 0, 0]
graalvm-ce-1.0.0-rc7/bin/java -jar graalvm/target/asciidoctor-js-graalvm.jar  199,02s user 1,00s system 399% cpu 50,036 total
Nashorn (JDK 11.0.1)
time jdk-11.0.1/bin/java -jar nashorn/target/asciidoctor-js-nashorn.jar
-- Nashorn
warmup
start
Run create#1
Run create#2
Run create#3
Run create#4
Run create#5
load: [2800, 2594, 2647, 2738, 2804]
instantiate: [3376, 3505, 3426, 3553, 3811]
Run call#1
Run call#2
Run call#3
Run call#4
Run call#5
Run call#6
Run call#7
Run call#8
Run call#9
Run call#10
convert: [26290, 6871, 4726, 3627, 3024, 2466, 2119, 2156, 1990, 2276]
getVersion: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
jdk-11.0.1/bin/java -jar nashorn/target/asciidoctor-js-nashorn.jar  298,17s user 1,88s system 229% cpu 2:10,87 total

asciidoctor.js-jvm's People

Contributors

ggrossetie avatar

Stargazers

 avatar

Watchers

 avatar  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.