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

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

Cap. 27 – Testes & Benchmarks – 5. Benchmarks Transcript and Lesson Notes

- 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

Quick Summary

- 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

Key Takeaways

  • Review the core idea: - 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
  • Understand how programar fits into Cap. 27 – Testes & Benchmarks – 5. Benchmarks.
  • Understand how programação fits into Cap. 27 – Testes & Benchmarks – 5. Benchmarks.
  • Understand how golang fits into Cap. 27 – Testes & Benchmarks – 5. Benchmarks.
  • Understand how go fits into Cap. 27 – Testes & Benchmarks – 5. Benchmarks.

Key Concepts

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

Lesson FAQs

What is Cap. 27 – Testes & Benchmarks – 5. Benchmarks about?

- 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

What key concepts are covered in this lesson?

The lesson covers programar, programação, golang, go, programacao.

What should I learn before Cap. 27 – Testes & Benchmarks – 5. Benchmarks?

Review the previous lessons in Aprenda Go 🇧🇷, then use the transcript and key concepts on this page to fill any gaps.

How can I practice after this lesson?

Practice by applying the main concepts: programar, programação, golang, go.

Does this lesson include a transcript?

Yes. The full transcript is visible on this page in indexable HTML sections.

Is this lesson free?

Yes. CourseHive lessons and courses are available to learn online for free.

Continue Learning

Course Hive

Continue this lesson in the app

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

Related Lessons

Related Courses

FAQs

Course Hive
Download CourseHive and keep learning anywhere
Get App