Previous | Next --- Slide 5 of 69
Back to Lecture Thumbnails

I find it interesting that tree alloc/dealloc in particular has a huge spike in Go. What properties of a tree would make this the case? Is it because Go is a garbage collected language (since Java is too, but it doesn't show this same spike)?


@jkorn Apparently it has to do with how Golang and Java each allocate memory. Go seems to allocate in chunks (then breaks off from those chunks as the allocation routine is called), whereas Java just "bumps a pointer." According to the source below, this results in both lower latency and throughput for Go.

Full explanation here:


Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.
Lua has been used in many industrial applications (e.g., Adobe's Photoshop Lightroom), with an emphasis on embedded systems (e.g., the Ginga middleware for digital TV in Brazil) and games (e.g., World of Warcraft and Angry Birds).


It's said that HHVM is a powerful JITter for PHP (and its variant Hacklang). Is performance increase brought by it considered in the graph?