testing_bench_profile

command
v0.5.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 0 Imported by: 0

README

これは何?

Go で test, benchmark, profile を行うサンプルです。

テスト

$ make test
$ make test_verbose

ベンチマーク

$ make bench
$ make bench_only
$ make bench_mem

プロファイル

最初にプロファイル結果を出力しておく必要があります。

$ make profile

その後、それぞれのプロファイル結果を見ることが出来ます。

$ make pprof_cpu
$ make pprof_mem

参考情報

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL