Currently iOS take 1000+ ms on our simulators to retrieve a record by Id. It is probably worse on the actual hardware. It can make iPads seem sluggish especially in the case of rule engine.
Rather than rewriting the whole db layer for accessing data, we could make this one change to enhance performance. This should enhance performance with a very small effort and measurable outcome.
Acceptance Criteria
A noticeable improvement in general behavior on iPads. This should be measurable with a set of benchmarks on the simulator and on Chrome using WebSql.
Mingle Card: 4082 Justification
Currently iOS take 1000+ ms on our simulators to retrieve a record by Id. It is probably worse on the actual hardware. It can make iPads seem sluggish especially in the case of rule engine.
Rather than rewriting the whole db layer for accessing data, we could make this one change to enhance performance. This should enhance performance with a very small effort and measurable outcome.
Acceptance Criteria
A noticeable improvement in general behavior on iPads. This should be measurable with a set of benchmarks on the simulator and on Chrome using WebSql.
Analysis
https://github.com/dpitre/alpine-mobile/tree/perf_test Could be wrong but it seems like the shim makes things better for us. I got horrible times with this branch. Maybe i missed something….
Timings in chrome loading the quote page:
Timings in iOS simulator loading the quote page:
Timings in Chrome loading a job page:
Timings in Chrome loading the quote list:
Timings in iOS loading the quote list:
Related Stories
Tasks
{{table query: SELECT Number, Name, Owner, 'Task Status' WHERE Type = Task and Story = THIS CARD}}
Defects
{{ table query: SELECT Number, Name, Owner, 'Status' WHERE Type = Defect and 'Related Story' = THIS CARD }}
Test Plan