Skip to content

Massive CPU Inefficiency (54x longer) introduced with the 2.15.5 release (vale_2.15.5_macOS_64-bit.tar.gz) #567

@universemaster

Description

@universemaster

The 2.15.5 release takes 54x times longer than 2.15.4.

I am on MacOS 10.15.7 (Catalina) with 2.5 GHz Quad-Core Intel Core i7.

I am using the releases from the release page of github:

The command is of the form:

time /path/to/vale /path/to/markdown/measurements.md --config /path/to/.vale.ini

With vale_2.15.5_macOS_64-bit.tar.gz:

346.57s user 3.23s system 408% cpu 1:25.56 total

With vale_2.15.4_macOS_64-bit.tar.gz:

6.37s user 0.16s system 174% cpu 3.747 total


And with the latest vale_2.23.0_macOS_64-bit.tar.gz the problem is still present:

389.82s user 3.13s system 408% cpu 1:36.23 total

And building 2.23.0 from source on my machine using brew install vale, I get a similar result.


Note that these observations do not void my observations in vale-cli/vale-vscode#113 because I was actually using an older version that didn't have the problem described here. So, these "noisy fan" issues still remain a problem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions