[2.6] Performance regression on machine listing page
Bug #1835199 reported by
Adam Collard
This bug affects 10 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Caleb Ellis | ||
2.6 |
Fix Released
|
Critical
|
Kit Randel | ||
2.7 |
Fix Released
|
High
|
Caleb Ellis |
Bug Description
As per https:/
Multiple users are seeing performance issues with MAAS 2.6, on the machine listing view.
"it takes 2/3 minutes to load ~200 nodes."
Related branches
~caleb-ellis/maas:machine-truncation-2.6
Merged
into
maas:master
- Steve Rydz (community): Approve
- Adam Collard (community): Needs Information
- MAAS Lander: Approve
-
Diff: 169 lines (+81/-15)3 files modifiedsrc/maasserver/static/js/angular/directives/machines_table.js (+31/-9)
src/maasserver/static/js/angular/directives/tests/test_machines_table.js (+30/-0)
src/maasserver/static/partials/machines-table.html (+20/-6)
~caleb-ellis/maas:2.6-perf-improvements-jest
- Kit Randel (community): Approve
-
Diff: 9511 lines (+2763/-2037)103 files modified.eslintignore (+1/-0)
.eslintrc.js (+14/-5)
HACKING.rst (+4/-7)
Makefile (+7/-20)
buildout.cfg (+0/-13)
debian/copyright (+0/-4)
dev/null (+0/-85)
jest.config.js (+31/-0)
package.json (+8/-16)
src/maasserver/static/js/angular/controllers/node_details.js (+5/-5)
src/maasserver/static/js/angular/controllers/nodes_list.js (+1/-1)
src/maasserver/static/js/angular/controllers/pods_list.js (+0/-2)
src/maasserver/static/js/angular/controllers/settings.js (+1/-1)
src/maasserver/static/js/angular/controllers/tests/test_add_device.js (+1/-0)
src/maasserver/static/js/angular/controllers/tests/test_add_domain.js (+1/-0)
src/maasserver/static/js/angular/controllers/tests/test_add_hardware.js (+1/-0)
src/maasserver/static/js/angular/controllers/tests/test_dashboard.js (+3/-3)
src/maasserver/static/js/angular/controllers/tests/test_domain_details.js (+0/-11)
src/maasserver/static/js/angular/controllers/tests/test_fabric_details.js (+0/-15)
src/maasserver/static/js/angular/controllers/tests/test_images.js (+1/-2)
src/maasserver/static/js/angular/controllers/tests/test_node_details.js (+1/-0)
src/maasserver/static/js/angular/controllers/tests/test_node_details_storage.js (+2/-2)
src/maasserver/static/js/angular/controllers/tests/test_node_details_storage_filesystems.js (+1/-1)
src/maasserver/static/js/angular/controllers/tests/test_node_events.js (+1/-0)
src/maasserver/static/js/angular/controllers/tests/test_node_result.js (+1/-0)
src/maasserver/static/js/angular/controllers/tests/test_node_results.js (+12/-4)
src/maasserver/static/js/angular/controllers/tests/test_nodes_list.js (+3/-3)
src/maasserver/static/js/angular/controllers/tests/test_pod_details.js (+1/-0)
src/maasserver/static/js/angular/controllers/tests/test_pods_list.js (+2/-2)
src/maasserver/static/js/angular/controllers/tests/test_settings.js (+2/-0)
src/maasserver/static/js/angular/controllers/tests/test_space_details.js (+0/-14)
src/maasserver/static/js/angular/controllers/tests/test_subnet_details.js (+0/-15)
src/maasserver/static/js/angular/controllers/tests/test_zone_details.js (+0/-11)
src/maasserver/static/js/angular/controllers/tests/test_zones_list.js (+1/-18)
src/maasserver/static/js/angular/directives/login.js (+1/-1)
src/maasserver/static/js/angular/directives/maas_obj_form.js (+2/-3)
src/maasserver/static/js/angular/directives/machines_table.js (+31/-9)
src/maasserver/static/js/angular/directives/script_status.js (+4/-4)
src/maasserver/static/js/angular/directives/tests/test_boot_images.js (+1/-0)
src/maasserver/static/js/angular/directives/tests/test_ipranges.js (+2/-15)
src/maasserver/static/js/angular/directives/tests/test_maas_obj_form.js (+17/-13)
src/maasserver/static/js/angular/directives/tests/test_mac_address.js (+2/-7)
src/maasserver/static/js/angular/directives/tests/test_machines_table.js (+30/-0)
src/maasserver/static/js/angular/directives/tests/test_notifications.js (+2/-0)
src/maasserver/static/js/angular/directives/tests/test_pod_parameters.js (+6/-6)
src/maasserver/static/js/angular/directives/tests/test_proxy_settings.js (+10/-3)
src/maasserver/static/js/angular/directives/tests/test_release_name.js (+0/-8)
src/maasserver/static/js/angular/directives/tests/test_release_options.js (+2/-2)
src/maasserver/static/js/angular/directives/tests/test_script_expander.js (+1/-2)
src/maasserver/static/js/angular/directives/tests/test_script_select.js (+1/-0)
src/maasserver/static/js/angular/directives/tests/test_ssh_keys.js (+1/-0)
src/maasserver/static/js/angular/directives/tests/test_switches_table.js (+1/-2)
src/maasserver/static/js/angular/directives/tests/test_toggle_control.js (+0/-2)
src/maasserver/static/js/angular/directives/tests/test_type.js (+1/-1)
src/maasserver/static/js/angular/directives/tests/test_version_reloader.js (+4/-3)
src/maasserver/static/js/angular/directives/tests/test_window_width.js (+2/-2)
src/maasserver/static/js/angular/entry.js (+4/-9)
src/maasserver/static/js/angular/factories/bootresources.js (+1/-1)
src/maasserver/static/js/angular/factories/general.js (+1/-1)
src/maasserver/static/js/angular/factories/tests/test_bootresources.js (+1/-0)
src/maasserver/static/js/angular/factories/tests/test_configs.js (+1/-2)
src/maasserver/static/js/angular/factories/tests/test_controllers.js (+1/-0)
src/maasserver/static/js/angular/factories/tests/test_devices.js (+1/-0)
src/maasserver/static/js/angular/factories/tests/test_dhcpsnippets.js (+1/-0)
src/maasserver/static/js/angular/factories/tests/test_general.js (+2/-0)
src/maasserver/static/js/angular/factories/tests/test_machines.js (+1/-0)
src/maasserver/static/js/angular/factories/tests/test_node_results.js (+1/-0)
src/maasserver/static/js/angular/factories/tests/test_nodes.js (+1/-0)
src/maasserver/static/js/angular/factories/tests/test_notifications.js (+0/-17)
src/maasserver/static/js/angular/factories/tests/test_packagerepositories.js (+1/-0)
src/maasserver/static/js/angular/factories/tests/test_pods.js (+1/-0)
src/maasserver/static/js/angular/factories/tests/test_scripts.js (+1/-2)
src/maasserver/static/js/angular/factories/tests/test_spaces.js (+1/-10)
src/maasserver/static/js/angular/factories/tests/test_switches.js (+1/-0)
src/maasserver/static/js/angular/filters/tests/test_by_subnet.js (+1/-1)
src/maasserver/static/js/angular/services/json.js (+3/-1)
src/maasserver/static/js/angular/services/log.js (+2/-0)
src/maasserver/static/js/angular/services/manager.js (+3/-0)
src/maasserver/static/js/angular/services/tests/test_log.js (+2/-0)
src/maasserver/static/js/angular/services/tests/test_manager.js (+3/-3)
src/maasserver/static/js/angular/services/tests/test_managerhelper.js (+1/-2)
src/maasserver/static/js/angular/services/tests/test_pollingmanager.js (+1/-5)
src/maasserver/static/js/angular/services/tests/test_region.js (+7/-9)
src/maasserver/static/js/angular/services/validation.js (+1/-1)
src/maasserver/static/js/angular/testing/setup-jest.js (+5/-0)
src/maasserver/static/js/angular/testing/setup.js (+2/-0)
src/maasserver/static/js/angular/testing/websocket.js (+2/-0)
src/maasserver/static/js/bundle/maas-min.js (+1/-1)
src/maasserver/static/js/bundle/maas-min.js.map (+1/-1)
src/maasserver/static/partials/dashboard.html (+1/-1)
src/maasserver/static/partials/machines-table.html (+19/-3)
src/maasserver/static/partials/networks-list.html (+2/-2)
src/maasserver/static/partials/node-events.html (+1/-1)
src/maasserver/static/partials/nodes-list.html (+3/-3)
src/maasserver/static/partials/pods-list.html (+1/-1)
src/maasserver/static/partials/subnet-details.html (+1/-1)
src/maasserver/static/partials/switches-table.html (+1/-1)
src/maasserver/static/partials/zones-list.html (+1/-1)
src/maasserver/testing/html-loader.js (+0/-0)
src/maastesting/parallel.py (+7/-2)
src/maastesting/tests/test_parallel.py (+3/-3)
webpack.config.js (+1/-0)
yarn.lock (+2439/-1609)
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I don't know if useful or not. But it could be related to loading physical machines or a certain type of machines.
The loading time takes the most for the first 3 batches of 25. After 75 loaded, it speeds up and the rest is loaded within 30 seconds.