# Go vs Java vs Python: A Real-World Benchmark Beyond the Hype

*Three implementations, one business problem, and an unexpected discovery about startup time.*

## 1\. Introduction

Go has become increasingly popular among developers, particularly since AI-assisted software development made experimenting with unfamiliar languages and frameworks much easier.

We've all seen comparisons between Go, Java, Python, Rust, and other languages. Most of them focus on execution speed, memory consumption, concurrency, or benchmark results generated using synthetic workloads.

But I wanted to answer a slightly different question:

**How do these languages compare when solving an actual business problem, with a real workload and real execution constraints?**

I recently had the opportunity to investigate this through a client request that involved automating a process that had been performed manually for years.

The objective wasn't to prove that one language was better than another. It was to implement the same solution using three different languages and observe their behavior under identical conditions.

The candidates were:

- Go
- Java
- Python

Here are the results and, more importantly, what I learned from the experiment.

## 2\. The business problem

The existing process involved extracting information from Kibana dashboards and transforming it into structured Excel workbooks.

The workflow was relatively straightforward:

1. Access Kibana.
2. Export the required dashboards as CSV files.
3. Transform the exported CSV files into Excel workbooks.
4. Generate pivot tables and configure filters.

The third step had already been partially automated using Excel macros.

However, the overall process still required manual intervention.

The objective was to automate the entire workflow, from data extraction to final Excel generation.

This was a particularly interesting use case because it involved multiple operations:

- Interacting with Kibana.
- Exporting and processing CSV files.
- Transforming structured data.
- Generating Excel workbooks.
- Creating pivot tables and filters.

It was also a finite workload: the application would execute once every midnight, complete its task, and terminate.

That last characteristic would become particularly important when interpreting the results.

## 3\. Three languages, one specification

We decided to implement the same solution using Go, Java, and Python.

Rather than manually writing three independent implementations, we used Claude to assist with the development.

This was an interesting opportunity to evaluate AI-assisted development beyond generating isolated code snippets.

The approach relied on three important elements:

**Clear specifications**

The expected behavior, processing steps, input data, and output requirements needed to be clearly defined.

**Reverse engineering**

Understanding the existing process and the behavior of the Excel macros was necessary to reproduce the expected results.

**Engineering rules**

We established a set of implementation guidelines to ensure that the generated solutions respected the expected architecture, behavior, and quality requirements.

The result was three implementations of the same business process.

One interesting observation: AI significantly reduced the effort required to experiment with different languages. It allowed us to focus more on defining the problem, validating the implementation, and comparing the results.

Of course, AI-generated code still requires engineering review and functional validation. Producing three implementations is not the same as proving that they are equivalent.

## 4\. Benchmark methodology

A benchmark is only meaningful when the comparison conditions are controlled.

We therefore executed the three implementations under the same conditions:

| Parameter | Condition |
| --- | --- |
| Machine | Same machine |
| Execution environment | Same environment |
| Input dataset | Same dataset |
| Dataset size | Medium |
| Output format | Same Excel format |
| Number of workbooks | Same |
| Benchmark executions | Same number |

The objective was to compare the end-to-end execution time required to complete the same workload.

We deliberately used a real business process instead of a synthetic algorithm benchmark.

This means that the results reflect the complete processing pipeline, including data handling, transformations, and Excel generation.

They should therefore be interpreted as workload-specific results, not as isolated programming-language performance measurements.

## 5\. Benchmark results

The results were as follows:

| Language | Total execution time |
| --- | --: |
| Go | **4.4 seconds** |
| Java | **5.7 seconds** |
| Python | **10.4 seconds** |

Go completed the workload in 4.4 seconds, followed by Java at 5.7 seconds and Python at 10.4 seconds.

In this particular experiment:

- Go was approximately 23% faster than Java.
- Go was approximately 58% faster than Python.
- Java was approximately 45% faster than Python.

These differences were interesting, but they weren't necessarily the most important discovery.

The real question was: what made Go particularly interesting for this workload?

## 6\. The unexpected discovery: startup time

While investigating Go's behavior, I paid particular attention to its startup characteristics.

I measured the time between launching the process and receiving its first application log.

The result was:

**25 milliseconds.**

| Measurement | Timestamp | Duration |
| --- | --- | --: |
| Process launch | 14:57:03.790 |  |
| First application log | 14:57:03.815 | **25 ms** |

This was a particularly impressive result.

Go produces a native executable that can be deployed without installing a JVM or a separate application runtime.

For this application, the practical advantages were:

- A standalone executable.
- No JVM installation.
- No separate application runtime to manage.
- Very low startup overhead.

This is where the execution model becomes particularly relevant.

## 7\. Why startup time matters in this scenario

Not every application has the same execution characteristics.

Consider two different workloads:

**Scenario A: A continuously running service**

An application starts once and remains alive for days or months.

In this situation, startup time is generally a small part of its overall lifecycle. JVM warm-up and JIT compilation can be amortized over a long execution period.

**Scenario B: A scheduled process**

An application starts, performs a finite workload, and terminates.

In our case, the application executes once every midnight.

Every execution starts a fresh process.

This means we cannot rely on a previously warmed-up JVM. Startup overhead is part of every execution cycle.

Java's JIT compiler remains a valuable optimization mechanism, but its benefits need to be considered in the context of the application's lifetime.

For this particular use case, Go's startup characteristics and standalone deployment model were particularly attractive.

This doesn't mean Go is always a better choice than Java. It means that the execution model should influence our technology decisions.

## 8\. What about Python?

Python recorded the highest execution time in this experiment: 10.4 seconds.

However, I wouldn't use this result to conclude that Python is inherently slower for every comparable task.

The results depend on the libraries, implementation, data-processing strategy, and workload characteristics.

A different implementation or a different workload could produce a different ranking.

The objective wasn't to establish a universal language ranking. It was to evaluate three concrete implementations against one business requirement.

## 9\. What this benchmark doesn't prove

A few limitations are worth highlighting.

First, this was a medium-sized dataset. Larger datasets could produce different performance characteristics.

Second, we measured the complete processing pipeline. We didn't isolate CSV parsing, transformations, Excel generation, or individual I/O operations.

Third, the benchmark doesn't establish that one language is universally faster than another.

Finally, the startup measurement presented here is specific to Go: process launch to first application log. It shouldn't be confused with a complete comparison of application initialization times across all three languages.

These distinctions matter because engineering decisions should be based on evidence, not generalized benchmark claims.

## 10\. Final thoughts

This experiment reinforced an idea I find increasingly important in software engineering:

**The best technology choice isn't necessarily the one with the best benchmark score. It's the one that best matches the actual requirements and execution model.**

Go delivered the best overall execution time in our experiment, along with a particularly attractive startup and deployment model.

Java remained competitive, and its ecosystem and runtime capabilities continue to make it an excellent choice for many workloads.

Python also remains a valuable tool, despite finishing last in this particular comparison.

Another interesting takeaway was the role of AI.

Claude made it considerably easier to implement the same business solution in three languages. But the quality of the outcome still depended on specification quality, engineering constraints, reverse engineering, and validation.

AI made the experiment easier to conduct.

**The engineering process made the results meaningful.**

And perhaps that's the most interesting part of this experiment: not discovering a universally superior language, but understanding why one implementation performed better for a particular problem.

---

*Benchmark context: Real-world Kibana CSV export and Excel workbook generation, using a medium-sized dataset. Results are specific to the tested implementations and environment.*
