← All changes
Harvester UI · Reviewed

The VM list stays quick with hundreds of VMs

With several hundred VMs, the Virtual Machines list froze the browser for a moment on every sort, every filter key and every live update. The list now does much less work per row, so it looks the same but answers faster.

Merged PR 1189 ↗ Issue 9513 ↗ Issue 11882 ↗
What changes for the user

The flow

1

The list looks the same

We open Virtual Machines with 489 VMs, 100 per page. Before and after show the same columns, states and buttons.

The VM list with 489 VMs, before and after: identical
The change is only under the hood. Users see no new controls and no change in layout.
2

Sorting by State is about twice as fast

We click the State column header. The pink badge shows how long the list took to redraw.

Sort by State: 0.57 s before, 0.29 s after
Today's re-run: 0.57 s before and 0.29 s after (the middle value of 15 sorts each). During that time the browser does not react to clicks.
3

The filter answers faster

We type "c12" into the filter box, one key at a time.

Filter: 1.0 s per key before, 0.6 s per key after
Each key took about 1.0 s before and 0.6 s after (the middle value of 9 keys each). Same results on both sides.
4

What we measured during the review

We tested the change on our Harvester with 489 VMs, before it merged.

Chart: sort by State 911 to 350 ms; time frozen during live updates 23.9% to 6.7%
The second number matters most in daily use: while VMs start, stop or migrate, the list updates live, and before the change the page was frozen for almost a quarter of that time.

Video (optional)

0:00 Before · 0:25 Switching to the new build · 0:38 After · 0:59 Summary

Notes