Skip to content

Commit

Permalink
Merge over new benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
spenserblack committed Sep 26, 2023
2 parents 0690413 + e5afacc commit 650c043
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@
"code",
"userTesting"
]
},
{
"login": "spsandwichman",
"name": "sandwich",
"avatar_url": "https://avatars.githubusercontent.com/u/73349893?v=4",
"profile": "http://sandwichman.dev",
"contributions": [
"data"
]
}
],
"contributorsPerLine": 7,
Expand Down
1 change: 1 addition & 0 deletions CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ A special thanks to all listed below ([emoji key](https://allcontributors.org/do
<td align="center" valign="top" width="14.28%"><a href="https://pyhsieh.net/"><img src="https://avatars.githubusercontent.com/u/6328813?v=4?s=100" width="100px;" alt="Po-Yu Hsieh"/><br /><sub><b>Po-Yu Hsieh</b></sub></a><br /><a href="#data-pykenny" title="Data">🔣</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://keybase.io/byronbates"><img src="https://avatars.githubusercontent.com/u/63622?v=4?s=100" width="100px;" alt="Sebastian Thiel"/><br /><sub><b>Sebastian Thiel</b></sub></a><br /><a href="#ideas-Byron" title="Ideas, Planning, & Feedback">🤔</a> <a href="#code-Byron" title="Code">💻</a> <a href="#userTesting-Byron" title="User Testing">📓</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/jake-87"><img src="https://avatars.githubusercontent.com/u/68929154?v=4?s=100" width="100px;" alt="j"/><br /><sub><b>j</b></sub></a><br /><a href="#data-jake-87" title="Data">🔣</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://sandwichman.dev"><img src="https://avatars.githubusercontent.com/u/73349893?v=4?s=100" width="100px;" alt="sandwich"/><br /><sub><b>sandwich</b></sub></a><br /><a href="#data-spsandwichman" title="Data">🔣</a></td>
</tr>
</tbody>
</table>
Expand Down
8 changes: 6 additions & 2 deletions gengo/benches/run_on_self.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@ use criterion::{criterion_group, criterion_main, Criterion};
use gengo::Builder;

fn head_benchmark(c: &mut Criterion) {
for n in 0..3 {
let rev = format!("HEAD{}", "^".repeat(n));
let revs = {
let mut revs: Vec<_> = (0..3).map(|n| format!("HEAD{}", "^".repeat(n))).collect();
revs.extend_from_slice(&["test/javascript".into()]);
revs
};
for rev in revs {
let gengo = Builder::new(env!("CARGO_MANIFEST_DIR"), &rev)
.build()
.unwrap();
Expand Down
6 changes: 6 additions & 0 deletions gengo/languages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,12 @@ OCaml:
extensions:
- ml
- mli
Odin:
category: programming
color: "#3882D2"
matchers:
extensions:
- odin
PHP:
category: programming
color: "#7A86B8"
Expand Down

0 comments on commit 650c043

Please sign in to comment.