Discover Packages
github.com/ikennaokpala/gotraining
topics
benchmarking
directory
Version:
v0.0.0-...-1ea3785
Opens a new window with list of versions in this module.
Published: Nov 22, 2015
License: Apache-2.0
Opens a new window with license information.
README
README
¶
Benchmarking
Go has support for both testing and debugging. This includes profiling and benchmarking Go programs.
Package Review
Prediction
Caching
Exercises
Exercise 1
Write three benchmark tests for converting an integer into a string. First use the fmt.Sprintf function, then the strconv.FormatInt function and finally the strconv.Itoa. Identify which function performs the best.
Template |
Answer
All material is licensed under the Apache License Version 2.0, January 2004 .
Expand ▾
Collapse ▴
Directories
¶
package caching provides code to show why CPU caches matter and the way the hardware caches memory affects performance.
package caching provides code to show why CPU caches matter and the way the hardware caches memory affects performance.
Click to show internal directories.
Click to hide internal directories.