Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: Slow Shortcuts app  (Read 2219 times)

Weaver

  • Senior Kitizen
  • ******
  • Posts: 11459
  • Retd s/w dev; A&A; 4x7km ADSL2 lines; Firebrick
Slow Shortcuts app
« on: November 21, 2020, 10:17:04 PM »

I wrote a Shortcuts subroutine which is a text processing filter. It scans an XML config file for a Firebrick 2700/2900 and converts it into legal XML for an FB2500 (which has no USB port in it for a 3G/4G USB ‘dongle’ NIC.) Running it on a real XML config file is painfully slow, taking many minutes - I lost count, bored. It isn’t loading the CPU up fully; only something like 20-25% according to a system status app that I have.

I wondered about trying it on my wife’s iPad Pro v3, which is double the speed (on one core) of my iPad Po v1, and quadruple if all cores are utilised. But I don’t know how to copy a Shortcuts program onto another machine. But I’m not sure there’s any point if the thing isn’t correctly CPU-bound, as it should be.

Any idea what might be going on? I’m wondering if this is a badness in iOS 14’s new version of Shortcuts, which has had massive changes, all for the good, apart from possibly this and a display layout change to proportional fronts that means that existing programs’ layout is now all screwed up.

I sent in a bug report to Apple. This has to be worthy of one.
Logged

Weaver

  • Senior Kitizen
  • ******
  • Posts: 11459
  • Retd s/w dev; A&A; 4x7km ADSL2 lines; Firebrick
Re: Slow Shortcuts app
« Reply #1 on: November 30, 2020, 04:24:34 PM »

Timed it properly, it took over 4 mins to run.

In <whatever> system status app, is cpu=100% all cores fully utilised? So that if say n=2 cores, cpu=50% is what you see when one core is fully utilised?

That is a daft way to display things IMO; there should be separate numbers for each core.
« Last Edit: November 30, 2020, 04:29:50 PM by Weaver »
Logged