Explore >> Select a destination


You are here

www.bitovi.com
| | www.taniarascia.com
2.5 parsecs away

Travel
| | Recently, I wanted to create and host a Node server, and discovered that Heroku is an excellent cloud platform service that has free hobby...
| | gregorsuttie.com
2.6 parsecs away

Travel
| | So this blog post comes from doing some work recently to containerize a .Net 4.8 project that needs to run on a Windows container. I wrote about Windows containers already so this is going to be some other tips to help someone who may have run into the same issues I did.Lets jump right in,...
| | blog.somewhatabstract.com
2.1 parsecs away

Travel
| |
| | mfbmina.dev
21.0 parsecs away

Travel
| One of my favorite features in Go is the possibility of writing benchmark tests. At Go 1.24, this feature has a new look, making it easier to use. To demonstrate these changes, let's suppose a function that calculates the factorial recursively and one that calculates it through loops. func FatorialRecursive(n int) int { if n == 0 { return 1 } return n * FatorialRecursive(n-1) } func FatorialLoop(n int) int { aux := 1 for i := 1; i <= n; i++ { aux *= i } return aux } Previously, to write a benchmark, it was necessary to write down the whole execution loop of the test. When done, we need to run the command $ go test -bench .