OpenClinica / enketo-oc

OpenClinica's fork of the Enketo web forms monorepo
Apache License 2.0
0 stars 1 forks source link

In 1.85.1.oc-1, figure out why loading a record is so slow (see email on 6/24) #144

Open MartijnR opened 4 years ago

MartijnR commented 4 years ago

use old pyxform-transformed XForm

http://localhost:8005/single/fs/i/SdiVErEP?ecid=1

  1. run empty form
  2. log full record after loading to console and add date to first question
  3. temporarily hardcode that record into enketo-webform-fieldsumission.js as instanceStr

in 1.85.1.oc-1:

form initialization:

form initialization profiling results with record:

profiling results without record:

Number of calcs performed with record in first and second update each: 83 (probably includes nested) Number of calcs performed without a record in first and second update each: 83 (probably includes nested)

Limitations:

MartijnR commented 4 years ago

I do not understand the slowness when loading a record.

MartijnR commented 4 years ago