Sorry comment #6 wasn't quite right. That machine is faster, but the problem still stands:
Asus Zenbook, i7-8550U (4 cores), 16GB RAM
snapd and its children hog one CPU core for 2 minutes
ld-2.23.so hogs a CPU core for less than 20 seconds
Microsoft Surface 3, x7-Z8700 (4 cores), 2GB RAM
snapd and its children hog one CPU core for 4 minutes
ld-2.23.so hogs a CPU core for a couple of minutes
Sorry comment #6 wasn't quite right. That machine is faster, but the problem still stands:
Asus Zenbook, i7-8550U (4 cores), 16GB RAM
snapd and its children hog one CPU core for 2 minutes
ld-2.23.so hogs a CPU core for less than 20 seconds
Microsoft Surface 3, x7-Z8700 (4 cores), 2GB RAM
snapd and its children hog one CPU core for 4 minutes
ld-2.23.so hogs a CPU core for a couple of minutes