mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Deploying to gh-pages from @ crystal-ameba/ameba@aceb054aa0 🚀
This commit is contained in:
parent
1997e04fdb
commit
f5d9e5c3e8
130 changed files with 3141 additions and 837 deletions
10
index.html
10
index.html
|
@ -331,6 +331,11 @@
|
|||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Lint/Documentation" data-name="ameba::rule::lint::documentation">
|
||||
<a href="Ameba/Rule/Lint/Documentation.html">Documentation</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Lint/DuplicatedRequire" data-name="ameba::rule::lint::duplicatedrequire">
|
||||
<a href="Ameba/Rule/Lint/DuplicatedRequire.html">DuplicatedRequire</a>
|
||||
|
||||
|
@ -869,11 +874,6 @@ $ ameba --explain crystal/command/format.cr:26:83 # same thing</code></pre>
|
|||
<use href="#octicon-link"/>
|
||||
</svg>
|
||||
</a>Run in parallel</h3>
|
||||
<p>Starting from 0.31.0 Crystal <a href="https://crystal-lang.org/2019/09/06/parallelism-in-crystal.html">supports parallelism</a>.
|
||||
It allows to run linting in parallel too.
|
||||
In order to take advantage of this feature you need to build ameba with preview_mt support:</p>
|
||||
<pre><code class="language-sh">$ crystal build src/cli.cr -Dpreview_mt -o bin/ameba
|
||||
$ make install</code></pre>
|
||||
<p>Some quick benchmark results measured while running Ameba on Crystal repo:</p>
|
||||
<pre><code class="language-sh">$ CRYSTAL_WORKERS=1 ameba #=> 29.11 seconds
|
||||
$ CRYSTAL_WORKERS=2 ameba #=> 19.49 seconds
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue