article thumbnail

SKP's Java/Java EE Gotchas: Clash of the Titans, C++ vs. Java!

DZone

This begins not only in designing the algorithm or coming out with efficient and robust architecture but right onto the choice of programming language. Recently, I spent some time checking on the Performance (not a very detailed study) of the various programming languages. JAVA SOLUTION (Will Be Uploaded Later). Ahem, Slow!

Java 207
article thumbnail

Compress objects, not cache lines: an object-based compressed memory hierarchy

The Morning Paper

These techniques work well for scientific programs that are dominated by arrays. However, they are ineffective on object-based programs because objects do not fall neatly into fixed-size blocks and have a more irregular layout. Consider a B-Tree node from the B-tree Java benchmark: Uncompressed, it’s memory layout looks like (a) below.

Cache 61
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Kubernetes Observability: Code Profiling With Flame Graphs

Percona

The documentation mentions that the supported languages to profile are Go, Java (any JVM-based language), Python, Ruby, and NodeJS. A simple sysbench benchmark on MySQL shows an overhead between six and 10 percent on CPU-bound systems when running perf with the default sampling frequency of 4000 Hz.

Code 106
article thumbnail

Article: Donkey: A Highly-Performant HTTP Stack for Clojure

InfoQ

In this article, we’ll briefly outline the use-case for a library like Donkey and present our benchmarks. Donkey is the product of the quest for a highly performant Clojure HTTP stack aimed to scale at the rapid pace of growth we have been experiencing at AppsFlyer, and save us computing costs. By Yaron Elyashiv.

article thumbnail

Web Performance Bookshelf

Rigor

The current state of Java¬Script and web browsers and includes brand-new material on features like class notation, arrow functions, iterators, async functions, template strings, and block scope. Javascript: The Ultimate Beginner’s Guide to Learn JavaScript Programming Step by Step. Progressive Web Apps. Eloquent Javascript.

article thumbnail

The Return of the Frame Pointers

Brendan Gregg

2014: Java in Flames Broken Java Stacks (2014) When I joined Netflix in 2014, I found Java's lack of frame pointer support broke all application stacks (pictured in my 2014 Surge talk on the right). For a while I was promoting the use of Canonical's libc6-prof, which was libc6 with frame pointers.

Java 145
article thumbnail

Static Analysis of Java Enterprise Applications: Frameworks and Caches, the Elephants in the Room

The Morning Paper

Static analysis of Java enterprise applications: frameworks and caches, the elephants in the room , Antoniadis et al., Being static , it has the advantage that analysis results can be produced solely from source code without the need to execute the program. PLDI’20. Why is static analysis of enterprise apps so hard?

Java 80