Skip to content

Add benchmarks for "uglified" JS #564

Closed

Description

@Razican

Currently, all of our benchmarks take non-uglified JavaScript as input. This is fine for some scenarios, but we should also have benchmarks for "uglified" or "minified" JavaScript.

This usually creates smaller variable and function names, and removes spaces and new lines, which should speed up parsing and even a bit the execution.

Activity

  1. added
    A-Enhancement
    C-Benchmark
    on Jul 15, 2020
  2. added this to the v0.10.0 milestone on Jul 15, 2020
  3. neeldug commented on Jul 17, 2020

    @neeldug
    Contributor

    I was wondering roughly for the test cases, whether it should have both a regular and uglified test case for comparison, and also roughly how long the test case should be for a reliable and significant benchmark?

  4. Razican commented on Aug 14, 2020

    @Razican
    MemberAuthor

    I was wondering roughly for the test cases, whether it should have both a regular and uglified test case for comparison, and also roughly how long the test case should be for a reliable and significant benchmark?

    It shouldn't be too long. With a small benchmark we should have enough information, since we do a statistical analysis. As far as I can see in the PR, I think that should be enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-EnhancementC-Benchmark

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions