Performance Zone is brought to you in partnership with:
  • submit to reddit
Erich Styger04/23/14
0 replies

Binary Files for the mbed Bootloader with Eclipse and GNU ARM Eclipse Plugins

The mbed MSD bootloader requires .BIN files. Generating binary files is very well possible with GNU tools and easy with the GNU ARM Eclipse build plugins. The current mbed bootloader has an issue with the FSEC security bits: if they are not set the way the bootloader expects them, it will brick the board.

Sarah Ervin04/23/14
0 replies

Why Every PHP Application Should Use an OpCache

OpCode caches provide a quick way to decrease the latency of your PHP application and should always be enabled in production PHP environments.

Sarah Ervin04/22/14
0 replies

Java 7 vs. Java 8: Performance Benchmarking of Fork/Join

With the recent release of Java 8, developers are just beginning to asses the strengths and weaknesses of the new platform. The most pressing question is: Does Java 8 have the fastest JVM so far? A good way to asses the progress of Java 8 is to test its ability to work with something that was new to Java 7, Fork/Join.

Jonatan Ivanov04/21/14
0 replies

Java String length confusion

You always know what you get if you call String.lenght(). It's easy, or not?

Peter Zaitsev04/21/14
0 replies

How rows_sent can be more than rows_examined?

If rows_examined is by far larger than rows_sent, say 100 larger, then the query is a great candidate for optimization. Optimization could be as simple as adding a few indexes or much more complicated as in generating summary tables so you do not need to rely on large aggregations for your real-time queries.

Sarah Ervin04/20/14
0 replies

The Best of the Week (Apr. 11): Performance Zone

Make sure you didn't miss anything with this list of the Best of the Week in the Performance Zone (Apr. 11 to Apr. 17). This week's best includes how to create an object pool in Java, why people both love and hate lambda, and how to tune up your garbage collection so it wont be so difficult.

Victor Savkin04/18/14
0 replies

Why Dart Comes with a Virtual Machine

Dart comes with a high-performance virtual machine. This controversial decision led to questions if it is going to break the Web. In this article I want to look at why we need this virtual machine, and how it can be added to Chrome without breaking the Web.

Dmitriy Setrakyan04/18/14
0 replies

Five Easy Tips for Benchmarking In-Memory Data Grids

A majority of folks evaluating in-memory computing, whether it be data grid, map reduce, or streaming, do not know how to appropriately perform benchmarking. The right approach to distributed in-memory benchmarking is very different than benchmarking disk-based products, and generally requires experience and understanding of the delicate details of how network and garbage collections behave under load.

Nikita Salnikov...04/17/14
0 replies

Tuning Garbage Collection: It Does Not Have To Be That Hard

We really do not like complexity. Memory leaks, threadlocks and GC tuning have historically been a pain to deal with

Erich Styger04/17/14
0 replies

Tutorial: User Interrupts with Processor Expert

The author has been asked this question several times: “How can I define my own interrupt vector with Processor Expert?” He answers this question with a short tutorial in this article.

Sarah Ervin04/17/14
0 replies

The Real Cost of Logging

While logging is important and helps with application support and troubleshooting, logging should be treated as part of the application logic. This means logging has to be designed, implemented, tested, monitored and managed. In short, it should become a part of full application lifecycle management.

Peter Verhas04/16/14
2 replies

We hate/love lambda

I write nice and readable code but I continually experience that others write ugly, unreadable and wrong code. And I expect lambda will make it worse.

Peter Zaitsev04/16/14
0 replies

Innodb redo log archiving

Percona Server 5.6.11-60.3 introduces a new “log archiving” feature. Percona XtraBackup 2.1.5 supports “apply archived logs.” What does it mean and how it can be used?

Fredric Paul04/16/14
0 replies

No Need to Support Experiments While You Sleep

Going straight from testing in a staging environment to a production environment is a bigger step than your feature might be ready for, especially if you’d rather not be getting paged in the middle of the night.

Michael Scharhag04/15/14
0 replies

The Grails Depedency Injection Inheritance Pitfall

This blog post is about a small pitfall you should be aware of when combining dependency injection in Grails with inheritance.

Chen Harel04/15/14
0 replies

New Parallelism APIs in Java 8: Behind The Glitz and Glamour

One of the key new features introduced in Java 8 is parallel array operations. This includes things like the ability to sort, filter and group items using Lambda expressions that automatically leverage multi-core architectures. How fast is this thing, and when should I use it?

Geoffrey De Smet04/15/14
1 replies

Is the Search Space of an Optimization Really a Big Problem?

Given an planning or optimization problem, how big is the search space? Can we hope to enumerate every possible solution, looking for the optimal solution? Let’s calculate the search space of a few use cases.

Erich Styger04/15/14
0 replies

Processor Expert V10.4 with New Component Inspector

There have been a lot of new Freescale releases recently around FTF. For the author, as a Processor Expert lover, it is good news that the new version 10.4 is now available. And it comes in four different ways: standalone, plugin for Eclipse, integrated into CodeWarrior, integrated into Kinetis Design Studio.

Abhishek Kumar04/14/14
0 replies

Creating Object Pool in Java

In this post, we will take a look at how we can create an object pool in Java.

Sarah Ervin04/14/14
0 replies

Measuring Your DevOps Success

DevOps is not a process or a tool – but there are a number of processes in the software development lifecycle (SDLC) that affect both traditional development and operations staff. All of these components can be optimized, and all of them can then be improved upon further using appropriate software tooling.

Sarah Ervin04/13/14
0 replies

The Best of the Week (Apr. 04): Performance Zone

Make sure you didn't miss anything with this list of the Best of the Week in the Performance Zone (Apr. 04 to Apr. 10). This week's best include the dark side of, misconceptions about, and how to avoid using the default methods of Java 8 - and an introduction to Arduino.

Moshe Kaplan04/11/14
0 replies

Looking for PostgreSQL Performance Issues

As traffic goes up, even your PostgreSQL may become a bottleneck. In this cases it is important to analyze the traffic and understand the usage pattern.

Peter Pilgrim04/11/14
0 replies

Cake Pattern, Self Types and Realistic Example

What is the benefit of this so-called Cake Pattern? Well in short, Scala allows self-type with multiple traits (the dependencies).

Mark Needham04/11/14
0 replies

Clojure: Not So Lazy Sequences a.k.a Chunking Behaviour

The reason this was annoying is because the author wanted to shortcut the lazy sequence using take-while. As the author understands it, when we have a lazy sequence the granularity of that laziness is 32 items at a time, a.k.a one chunk.

Trevor Parsons04/11/14
0 replies

Tracking Events Through Complex Stacks – Part 1

The complexity of companies’ software solutions are increasing, with developers having less and less insight into all the corners of an application. You need to be able to track and catch errors anywhere in your stack.