oakmac / standard-clojure-style-js

Standard Clojure Style in JavaScript
ISC License
84 stars 1 forks source link

Feedback: performance benchmark on 1,207 files #77

Open shaunlebron opened 2 months ago

shaunlebron commented 2 months ago

On a Macbook Pro, 13-inch, M1, 2020. Running on a codebase described below:

$ cloc src

Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Clojure                       1136          23719          19119         152808
ClojureScript                   46            648            215           6019
ClojureC                        24            336            125           2337

$ standard-clj fix src

Subsequently running Parstager on these changes:

$ parstager src

I thought Parstager would be faster since it’s not doing as much (cli isn’t processing files in paralell though), but standard clojure style seems blazing fast in comparison.