Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Cap. 27 – Testes & Benchmarks – 5. Benchmarks
Play lesson

Aprenda Go 🇧🇷 - Cap. 27 – Testes & Benchmarks – 5. Benchmarks

5.0 (2)
47 learners

What you'll learn

This course includes

  • 21.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

- Benchmarks nos permitem testar a velocidade ou performance do nosso código. - Na prática: - Arquivo: _test.go - BET: Testes, Exemplos e... - func BenchmarkFunc (b *testing.B) { ... b.N ... } - go test -bench . ← todos - go test -bench Func ← somente Func - go help testflag - Código: https://github.com/ellenkorbes/aprendago/tree/master/c%C3%B3digo/27_testes-e-benchmarking/benchtest

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere