このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
mort
/
lang2
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
プルリクエスト
0
リリース
0
Wiki
アクティビティ
ソースを参照
stupid while loop benchmark
master
Martin Dørum
3年前
親
a47c9f918f
コミット
16e07fe64a
3個のファイルの変更
、
6行の追加
、
0行の削除
分割表示
差分情報を表示
2
0
benchmarks/while-perf/bench.sh
2
0
benchmarks/while-perf/while-test.l2
2
0
benchmarks/while-perf/while-test.py
+ 2
- 0
benchmarks/while-perf/bench.sh
ファイルの表示
@@ -0,0 +1,2 @@
#!/bin/sh
hyperfine '../../bx-out/target while-test.l2' 'python3 while-test.py'
+ 2
- 0
benchmarks/while-perf/while-test.l2
ファイルの表示
@@ -0,0 +1,2 @@
i := 0
while {i < 1'000'000} {i = i + 1}
+ 2
- 0
benchmarks/while-perf/while-test.py
ファイルの表示
@@ -0,0 +1,2 @@
i = 0
while i < 10000000: i = i + 1
書き込み
プレビュー
読み込み中…
キャンセル
保存