MODERNIZATION BENEFITS
Slow Software: Performance and Capacity Planning
Find what slows reports, orders and large lists. Compare published lab results and define a measurable performance pilot for your software.
Updated:
SHORT ANSWER
Start with the report, order or screen that delays the next step in your business. Measure the same completed task at normal and peak load, then address the query, integration or rendering bottleneck before buying more capacity.
Why it matters
In Red Hat’s second application modernization report, organizations currently modernizing report benefits in security (58%), scalability (53%) and reliability (52%).
Source: The state of application modernization, second edition · Red Hat · Published: · Accessed: Red Hat-sponsored self-report survey of 1,000 IT respondents in the US, UK and English-speaking Asia-Pacific, October–November 2023. Percentages apply to the modernizing subgroup; they establish neither causation nor outcomes from our service.
Deloitte's mobile-site study of 37 brands observed a relationship between a 0.1-second improvement in each of four speed metrics and conversion-rate increases of 8.4% in retail and 10.1% in travel.
Source: Milliseconds Make Millions · Deloitte Ireland LLP / Deloitte Digital · Published: · Accessed: Commissioned by Google; Europe and the US, mobile web, October 28–November 24, 2019. Correlation from natural speed changes, not causation or a guaranteed outcome. The numeric field represents retail.
Which part of the working day does slow software hold up?
A slow report delays balance checks; a stock lookup holds up dispatch. On an unresponsive portal, staff may retry an order or move work into a spreadsheet. Start with the operation, data volume and point when work backs up. “The invoice list freezes when we filter last year’s records” is enough to begin; you do not need to know the programming language.
What do we investigate before adding more servers?
| Where the team waits | Bottleneck to investigate | First change to test |
|---|---|---|
| Reports get slower as history grows | Repeated scans and queries that read more records than needed | A suitable index or one grouped calculation |
| Orders queue at busy times | Sequential service calls, exhausted worker pools or a slow dependency | Bounded parallel calls, timeouts and dependency capacity |
| A long list freezes the screen | Too many rows rendered at once | Pagination or rendering only the visible rows |
| Imports slow down as the catalog grows | Searching the whole catalog for every incoming row | A lookup keyed by product code |
Moving a report into the background can free the screen, but the report still has to finish. Likewise, a larger server does not remove repeated work. The first test should establish which change addresses the delay you actually experience.
What have we measured in the laboratory?
These are medians of ten runs on published synthetic workloads. Each case includes the code, raw records and measurement environment.
- Month-end reporting: 73.106 s → 0.176 s. The five-million-order experiment keeps the SQL and complete results for 500 customers identical, adding a covering index. These are warm, in-memory SQLite read times. Data loading and index construction are excluded; index setup and storage are published separately. The practical starting point is the query plan.
- A queue of 256 orders: 2.950 s → 0.381 s. The Java integration runs independent stock, price and delivery calls concurrently. These are whole-batch times, not individual-order p95 or 256 live users. A comparable platform-thread pool also improves performance: the change is how calls are scheduled. A constrained-service control demonstrates the limit imposed by downstream capacity.
- Filtering 50,000 invoices: 1.39 s → 16.5 ms. The frontend experiment finds the same 33,333 matching invoices while rendering a 40-row window. It measures browser filtering and rendering, excluding network and database time: a useful distinction when data arrives promptly but the screen remains unresponsive.
For other workloads, compare PHP report aggregation, database query optimization or .NET catalog imports. Their interactive charts let you select recorded data sizes and inspect the control implementations.
How do we decide whether your improvement is ready?
Agree the acceptance criteria before the pilot:
- For an order or lookup: response time at the expected peak load, including p95, timeouts and failed operations.
- For a report or import: time to finish the complete job, with matching record counts, totals and rejected-row handling.
- For a screen: the time until people can use the result on the devices they work with, including filtering and scrolling.
Repeat the comparison with the same data and workload, then check CPU, memory and database load alongside the response time. A faster read may need an index that adds storage and write work; moving a task into a queue needs visible progress and a safe retry path.
Start with one delayed operation
Bring a slow report, screen or import to a legacy health assessment. We identify where the time is spent, define a baseline and choose a bounded pilot with a clear acceptance target. If the bottleneck is in the application, that pilot becomes the first step in application modernization. If the wait comes from approvals or missing information, start with the workflow instead.
Measurement approach
Every recorded run and complete-output check is retained. Batch time, rendering time and per-request p95 stay separate. The same-bytecode Java 8 → 25 experiment isolates the runtime; its small difference is distinct from these workflow changes. Explore the measurement methods.
Evidence from the lab
200,000 orders summarized
↓ 99.4%Lower is better · Median of 10 runs
Measurement method →CPU time for the same task
↓ 99.4%Lower is better · Median of 10 runs
Measurement method →50,000 catalog import rows
↓ 99.8%Lower is better · Median of 10 runs
Measurement method →CPU time for the same task
↓ 99.8%Lower is better · Median of 10 runs
Measurement method →50,000 invoices filtered and listed
↓ 98.8%Lower is better · Median of 10 runs
Measurement method →256 orders completed
↓ 87.1%Lower is better · Median of 10 runs
Measurement method →CPU time for the same task
↓ 51.7%Lower is better · Median of 10 runs
Measurement method →5,000,000 orders summarized
↓ 99.8%Lower is better · Median of 10 runs
Measurement method →CPU time for the same task
↓ 99.8%Lower is better · Median of 10 runs
Measurement method →200,000 orders summarized
↓ 99.3%Lower is better · Median of 10 runs
Measurement method →CPU time for the same task
↓ 99.3%Lower is better · Median of 10 runs
Measurement method →In-memory report over 1 million orders
↓ 0.3%Lower is better · Median of 10 runs
Measurement method →Explore your own situation
Frequently asked questions
Is the fastest run enough for a comparison?
A single run can conceal variation between attempts. Our published experiments retain raw durations, state the number of runs and identify the aggregation used; all recorded attempts remain available.
Why show median and p95 separately?
The median helps describe a typical response, while p95 helps examine slower responses in the distribution. Error rates are also needed: showing faster responses while hiding unfinished work would distort the comparison.
How is the speed ratio shown when the old system times out?
An unknown completion time is never recorded as zero. A recorded timeout limit supports an at-least ratio, expressed as a lower bound; without that limit, no ratio is produced.
Does a faster mobile website guarantee a matching increase in sales?
No such outcome is guaranteed. The mobile-web study above describes an observed relationship for specific brands and a particular period, not a rate that transfers directly to your internal application or sales.
Does the simulation slider test every possible record count?
The slider selects loads actually recorded for the chosen experiment. Concurrent orders in the Java integration and records in a report are different units. Each point compares implementations processing the same data; it does not invent intermediate values or run a new test.