Skip to content

Commit

Permalink
bmf_example
Browse files Browse the repository at this point in the history
  • Loading branch information
epompeii committed Jan 25, 2025
1 parent d214eba commit f7c7e72
Show file tree
Hide file tree
Showing 19 changed files with 207 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
```json
{
"benchmark_name": {
"latency": {
"value": 88.0,
"lower_value": 87.42,
"upper_value": 88.88
},
"throughput" {
"value": 5.55,
"lower_value": 3.14,
"upper_value": 6.30
}
},
"/bin/sh -c ./my_build_script.sh": {
"build-time": {
"value": 87.0
}
},
"my_binary": {
"file-size": {
"value": 42.0
}
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import BmfExample from "../bmf-example.mdx";

## Beispiel für Bencher Metric Format (BMF) JSON

<BmfExample />

In diesem Beispiel gibt es drei [Benchmarks][benchmark]:

- `benchmark_name` Benchmark mit zwei [Maßeinheiten][measure]:
- Latenz (`latency`)
- Durchsatz (`throughput`)
- `/bin/sh -c ./my_build_script.sh` Benchmark mit einer Maßeinheit zur [Verfolgung der Bauzeit][track build time] (`build-time`)
- `my_binary` Benchmark mit einer Maßeinheit zur [Verfolgung der Dateigröße][track file size] (`file-size`)

[benchmark]: /de/docs/explanation/benchmarking/#benchmark
[measure]: /de/docs/explanation/benchmarking/#measure
[track build time]: /de/docs/how-to/track-build-time/
[track file size]: /de/docs/how-to/track-file-size/
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import BmfExample from "../bmf-example.mdx";

## Example Bencher Metric Format (BMF) JSON

<BmfExample />

In this example, there are three [Benchmarks][benchmark]:

- `benchmark_name` Benchmark with two [Measures][measure]:
- Latency (`latency`)
- Throughput (`throughput`)
- `/bin/sh -c ./my_build_script.sh` Benchmark with one Measure to [track build time][track build time] (`build-time`)
- `my_binary` Benchmark with one Measure to [track file size][track file size] (`file-size`)

[benchmark]: /docs/explanation/benchmarking/#benchmark
[measure]: /docs/explanation/benchmarking/#measure
[track build time]: /docs/how-to/track-build-time/
[track file size]: /docs/how-to/track-file-size/
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import BmfExample from "../bmf-example.mdx";

## Ejemplo de formato de métrica de Bencher (BMF) en JSON

<BmfExample />

En este ejemplo, hay tres [referencias][benchmark]:

- Referencia `benchmark_name` con dos [medidas][measure]:
- Latencia (`latency`)
- Rendimiento (`throughput`)
- Referencia `/bin/sh -c ./my_build_script.sh` con una medida para [monitorear el tiempo de construcción][track build time] (`build-time`)
- Referencia `my_binary` con una medida para [monitorear el tamaño del archivo][track file size] (`file-size`)

[benchmark]: /es/docs/explanation/benchmarking/#benchmark
[measure]: /es/docs/explanation/benchmarking/#measure
[track build time]: /es/docs/how-to/track-build-time/
[track file size]: /es/docs/how-to/track-file-size/
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import BmfExample from "../bmf-example.mdx";

## Exemple de format de métrique Bencher (BMF) JSON

<BmfExample />

Dans cet exemple, il y a trois [Benchmarks][benchmark]:

- `benchmark_name` Benchmark avec deux [Mesures][measure] :
- Latence (`latency`)
- Débit (`throughput`)
- `/bin/sh -c ./my_build_script.sh` Benchmark avec une Mesure pour [suivre le temps de construction][track build time] (`build-time`)
- `my_binary` Benchmark avec une Mesure pour [suivre la taille du fichier][track file size] (`file-size`)

[benchmark]: /fr/docs/explanation/benchmarking/#benchmark
[measure]: /fr/docs/explanation/benchmarking/#measure
[track build time]: /fr/docs/how-to/track-build-time/
[track file size]: /fr/docs/how-to/track-file-size/
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import BmfExample from "../bmf-example.mdx";

## ベンチャーメトリックフォーマット (BMF) JSON の例

<BmfExample />

この例では、3つの[ベンチマーク][benchmark]があります:

- `benchmark_name` というベンチマークは、2つの[メジャー][measure]があります:
- レイテンシー (`latency`)
- スループット (`throughput`)
- `/bin/sh -c ./my_build_script.sh` というベンチマークは、1つのメジャーで[ビルド時間を追跡][track build time](`build-time`)
- `my_binary` というベンチマークは、1つのメジャーで[ファイルサイズを追跡][track file size](`file-size`)

[benchmark]: /ja/docs/explanation/benchmarking/#benchmark
[measure]: /ja/docs/explanation/benchmarking/#measure
[track build time]: /ja/docs/how-to/track-build-time/
[track file size]: /ja/docs/how-to/track-file-size/
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import BmfExample from "../bmf-example.mdx";

## 벤처 메트릭 형식 (BMF) JSON 예제

<BmfExample />

이 예제에는 세 개의 [벤치마크][benchmark]가 있습니다:

- `benchmark_name` 벤치마크에는 두 개의 [측정치][measure]:
- 지연 시간 (`latency`)
- 처리량 (`throughput`)
- `/bin/sh -c ./my_build_script.sh` 벤치마크는 [빌드 시간 추적][track build time]을 위한 하나의 측정치 (`build-time`)
- `my_binary` 벤치마크는 [파일 크기 추적][track file size]을 위한 하나의 측정치 (`file-size`)

[benchmark]: /ko/docs/explanation/benchmarking/#benchmark
[measure]: /ko/docs/explanation/benchmarking/#measure
[track build time]: /ko/docs/how-to/track-build-time/
[track file size]: /ko/docs/how-to/track-file-size/
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import BmfExample from "../bmf-example.mdx";

## Exemplo de Formato de Métrica Bencher (BMF) JSON

<BmfExample />

Neste exemplo, há três [Benchmarks][benchmark]:

- `benchmark_name` Benchmark com dois [Measures][measure]:
- Latência (`latency`)
- Taxa de Transferência (`throughput`)
- `/bin/sh -c ./my_build_script.sh` Benchmark com uma Medida para [monitorar o tempo de compilação][track build time] (`build-time`)
- `my_binary` Benchmark com uma Medida para [monitorar o tamanho do arquivo][track file size] (`file-size`)

[benchmark]: /pt/docs/explanation/benchmarking/#benchmark
[measure]: /pt/docs/explanation/benchmarking/#measure
[track build time]: /pt/docs/how-to/track-build-time/
[track file size]: /pt/docs/how-to/track-file-size/
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import BmfExample from "../bmf-example.mdx";

## Пример JSON в формате Bencher Metric Format (BMF)

<BmfExample />

В этом примере рассматриваются три [Бенчмарка][benchmark]:

- `benchmark_name` Бенчмарк с двумя [Параметрами][measure]:
- Задержка (`latency`)
- Пропускная способность (`throughput`)
- `/bin/sh -c ./my_build_script.sh` Бенчмарк с одним параметром для [отслеживания времени сборки][track build time] (`build-time`)
- `my_binary` Бенчмарк с одним параметром для [отслеживания размера файла][track file size] (`file-size`)

[benchmark]: /ru/docs/explanation/benchmarking/#benchmark
[measure]: /ru/docs/explanation/benchmarking/#measure
[track build time]: /ru/docs/how-to/track-build-time/
[track file size]: /ru/docs/how-to/track-file-size/
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import BmfExample from "../bmf-example.mdx";

## 示例 Bencher Metric Format (BMF) JSON

<BmfExample />

在这个示例中,有三个[基准测试][benchmark]

- `benchmark_name` 基准测试,包含两个[测量][measure]
- 延迟 (`latency`)
- 吞吐量 (`throughput`)
- `/bin/sh -c ./my_build_script.sh` 基准测试,包含一个测量用于[跟踪构建时间][track build time] (`build-time`)
- `my_binary` 基准测试,包含一个测量用于[跟踪文件大小][track file size] (`file-size`)

[benchmark]: /zh/docs/explanation/benchmarking/#benchmark
[measure]: /zh/docs/explanation/benchmarking/#measure
[track build time]: /zh/docs/how-to/track-build-time/
[track file size]: /zh/docs/how-to/track-file-size/

Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ sortOrder: 5
---

import Intro from "../../../chunks/docs-reference/bencher-metric-format/de/intro.mdx";
import Example from "../../../chunks/docs-reference/bencher-metric-format/de/example.mdx";
import Schema from "../../../chunks/docs-reference/bencher-metric-format/de/schema.mdx";
import BencherMock from "../../../chunks/docs-reference/bencher-metric-format/de/bencher-mock.mdx";

<Intro />
<Example />
<Schema />
<hr />
<div class="box">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ sortOrder: 5
---

import Intro from "../../../chunks/docs-reference/bencher-metric-format/en/intro.mdx";
import Example from "../../../chunks/docs-reference/bencher-metric-format/en/example.mdx";
import Schema from "../../../chunks/docs-reference/bencher-metric-format/en/schema.mdx";
import BencherMock from "../../../chunks/docs-reference/bencher-metric-format/en/bencher-mock.mdx";

<Intro />
<Example />
<Schema />
<hr />
<div class="box">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ sortOrder: 5
---

import Intro from "../../../chunks/docs-reference/bencher-metric-format/es/intro.mdx";
import Example from "../../../chunks/docs-reference/bencher-metric-format/es/example.mdx";
import Schema from "../../../chunks/docs-reference/bencher-metric-format/es/schema.mdx";
import BencherMock from "../../../chunks/docs-reference/bencher-metric-format/es/bencher-mock.mdx";

<Intro />
<Example />
<Schema />
<hr />
<div class="box">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ sortOrder: 5
---

import Intro from "../../../chunks/docs-reference/bencher-metric-format/fr/intro.mdx";
import Example from "../../../chunks/docs-reference/bencher-metric-format/fr/example.mdx";
import Schema from "../../../chunks/docs-reference/bencher-metric-format/fr/schema.mdx";
import BencherMock from "../../../chunks/docs-reference/bencher-metric-format/fr/bencher-mock.mdx";

<Intro />
<Example />
<Schema />
<hr />
<div class="box">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ sortOrder: 5
---

import Intro from "../../../chunks/docs-reference/bencher-metric-format/ja/intro.mdx";
import Example from "../../../chunks/docs-reference/bencher-metric-format/ja/example.mdx";
import Schema from "../../../chunks/docs-reference/bencher-metric-format/ja/schema.mdx";
import BencherMock from "../../../chunks/docs-reference/bencher-metric-format/ja/bencher-mock.mdx";

<Intro />
<Example />
<Schema />
<hr />
<div class="box">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ sortOrder: 5
---

import Intro from "../../../chunks/docs-reference/bencher-metric-format/ko/intro.mdx";
import Example from "../../../chunks/docs-reference/bencher-metric-format/ko/example.mdx";
import Schema from "../../../chunks/docs-reference/bencher-metric-format/ko/schema.mdx";
import BencherMock from "../../../chunks/docs-reference/bencher-metric-format/ko/bencher-mock.mdx";

<Intro />
<Example />
<Schema />
<hr />
<div class="box">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ sortOrder: 5
---

import Intro from "../../../chunks/docs-reference/bencher-metric-format/pt/intro.mdx";
import Example from "../../../chunks/docs-reference/bencher-metric-format/pt/example.mdx";
import Schema from "../../../chunks/docs-reference/bencher-metric-format/pt/schema.mdx";
import BencherMock from "../../../chunks/docs-reference/bencher-metric-format/pt/bencher-mock.mdx";

<Intro />
<Example />
<Schema />
<hr />
<div class="box">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ sortOrder: 5
---

import Intro from "../../../chunks/docs-reference/bencher-metric-format/ru/intro.mdx";
import Example from "../../../chunks/docs-reference/bencher-metric-format/ru/example.mdx";
import Schema from "../../../chunks/docs-reference/bencher-metric-format/ru/schema.mdx";
import BencherMock from "../../../chunks/docs-reference/bencher-metric-format/ru/bencher-mock.mdx";

<Intro />
<Example />
<Schema />
<hr />
<div class="box">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ sortOrder: 5
---

import Intro from "../../../chunks/docs-reference/bencher-metric-format/zh/intro.mdx";
import Example from "../../../chunks/docs-reference/bencher-metric-format/zh/example.mdx";
import Schema from "../../../chunks/docs-reference/bencher-metric-format/zh/schema.mdx";
import BencherMock from "../../../chunks/docs-reference/bencher-metric-format/zh/bencher-mock.mdx";

<Intro />
<Example />
<Schema />
<hr />
<div class="box">
Expand Down

0 comments on commit f7c7e72

Please sign in to comment.