Actions
Bug #17740
closedPrinting longer lists with table formatter is extremely slow
Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer core
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Marek
Description
The table formatter prints data via table_print gem into a string, then parses the output, reorders columns and finally prints the new string to stdout. This approach is extremely slow for long lists.
Attached logs show that printing a list of about 3000 records (hammer errata list) took 15m 13s, where the time needed to fetch the data from server was only 25 seconds.
The same command executed with base formatter took only 27 seconds. Other formatters perform similarly.
Files
Updated by Tomáš Strachota almost 8 years ago
- Status changed from New to Assigned
- Bugzilla link set to 1393611
Updated by The Foreman Bot almost 8 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli/pull/229 added
Updated by Tomáš Strachota almost 8 years ago
- Related to Feature #17819: Output adapters should support printing lists page by page added
Updated by Anonymous almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 0d3e81350de92c400ca281136c59cebd7f9c772a.
Updated by Tomáš Strachota over 7 years ago
- Translation missing: en.field_release set to 233
Actions