mirror of
https://github.com/sharkdp/hyperfine.git
synced 2024-08-16 09:20:22 +03:00
Compare commits
3 Commits
96f8ae52ad
...
5493cf5039
Author | SHA1 | Date | |
---|---|---|---|
|
5493cf5039 | ||
|
6c774103d9 | ||
|
09c39d8989 |
2
.github/workflows/CICD.yml
vendored
2
.github/workflows/CICD.yml
vendored
@ -326,7 +326,7 @@ jobs:
|
||||
echo "IS_RELEASE=${IS_RELEASE}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Publish archives and packages
|
||||
uses: softprops/action-gh-release@v1
|
||||
uses: softprops/action-gh-release@v2
|
||||
if: steps.is-release.outputs.IS_RELEASE
|
||||
with:
|
||||
files: |
|
||||
|
16
README.md
16
README.md
@ -10,6 +10,22 @@ A command-line benchmarking tool.
|
||||
|
||||
![hyperfine](https://i.imgur.com/z19OYxE.gif)
|
||||
|
||||
## Sponsors
|
||||
|
||||
A special *thank you* goes to our biggest <a href="doc/sponsors.md">sponsor</a>:
|
||||
|
||||
<a href="https://bencher.dev/hyperfine/?utm_source=github&utm_medium=referral&utm_campaign=hyperfine&utm_content=wordmark">
|
||||
<img src="doc/sponsors/bencher_wordmark.svg" width="200" alt="🐰 Bencher">
|
||||
<br>
|
||||
<strong>Continuous Benchmarking: Catch performance regressions in CI</strong>
|
||||
</a>
|
||||
<br>
|
||||
<a href="https://bencher.dev/hyperfine/?utm_source=github&utm_medium=referral&utm_campaign=hyperfine&utm_content=copy">
|
||||
<sub>Track the results of your <code>hyperfine</code> benchmarks over time with Bencher.</sub>
|
||||
<br>
|
||||
<sup>Detect and prevent performance regressions before they make it to production.</sup>
|
||||
</a>
|
||||
|
||||
## Features
|
||||
|
||||
* Statistical analysis across multiple runs.
|
||||
|
12
doc/sponsors.md
Normal file
12
doc/sponsors.md
Normal file
@ -0,0 +1,12 @@
|
||||
## Sponsors
|
||||
|
||||
`hyperfine` development is sponsored by many individuals and companies. Thank you very much!
|
||||
|
||||
Please note, that being sponsored does not affect the individuality of the `hyperfine`
|
||||
project or affect the maintainers' actions in any way.
|
||||
We remain impartial and continue to assess pull requests solely on merit - the
|
||||
features added, bugs solved, and effect on the overall complexity of the code.
|
||||
No issue will have a different priority based on sponsorship status of the
|
||||
reporter.
|
||||
|
||||
If you want to see our biggest sponsors, check the top of [`README.md`](../README.md#sponsors).
|
80
doc/sponsors/bencher_wordmark.svg
Normal file
80
doc/sponsors/bencher_wordmark.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 24 KiB |
@ -59,10 +59,11 @@ impl<'a> Command<'a> {
|
||||
}
|
||||
|
||||
pub fn get_name_with_unused_parameters(&self) -> String {
|
||||
let parameters = self
|
||||
.get_unused_parameters()
|
||||
.map(|(parameter, value)| format!("{} = {}, ", parameter, value.to_string()))
|
||||
.collect::<String>();
|
||||
let parameters =
|
||||
self.get_unused_parameters()
|
||||
.fold(String::new(), |output, (parameter, value)| {
|
||||
output + &format!("{} = {}, ", parameter, value.to_string())
|
||||
});
|
||||
let parameters = parameters.trim_end_matches(", ");
|
||||
let parameters = if parameters.is_empty() {
|
||||
"".into()
|
||||
|
Loading…
Reference in New Issue
Block a user