Skip to content

Instantly share code, notes, and snippets.

@fredkingham
Last active June 27, 2017 09:44
Show Gist options
  • Save fredkingham/16578a0bf217307407d79f444f88e624 to your computer and use it in GitHub Desktop.
Save fredkingham/16578a0bf217307407d79f444f88e624 to your computer and use it in GitHub Desktop.
serialise_lab_tests -> 0.53s
refresh_gloss -> 38.4s
bulk_create_from_gloss -> 32s
gloss_query -> 6s
example load times below of a patient list below
observations take 0.0009s
results take less than 1s depending on the amount of observations
loaded 98 lab tests with a total of 453 observations in 0.3861s (0.0039s per result, 0.0009s per observation)
loaded 14 lab tests with a total of 68 observations in 0.1328s (0.0095s per result, 0.0020s per observation)
loaded 25 lab tests with a total of 118 observations in 0.2193s (0.0088s per result, 0.0019s per observation)
loaded 314 lab tests with a total of 1317 observations in 1.1157s (0.0036s per result, 0.0008s per observation)
loaded 84 lab tests with a total of 360 observations in 0.5964s (0.0071s per result, 0.0017s per observation)
loaded 151 lab tests with a total of 546 observations in 0.8584s (0.0057s per result, 0.0016s per observation)
loaded 743 lab tests with a total of 2895 observations in 2.7706s (0.0037s per result, 0.0010s per observation)
loaded 1058 lab tests with a total of 4044 observations in 2.9922s (0.0028s per result, 0.0007s per observation)
loaded 14 lab tests with a total of 43 observations in 0.0944s (0.0067s per result, 0.0022s per observation)
loaded 202 lab tests with a total of 971 observations in 1.7588s (0.0087s per result, 0.0018s per observation)
loaded 928 lab tests with a total of 2862 observations in 2.2787s (0.0025s per result, 0.0008s per observation)
loaded 266 lab tests with a total of 1056 observations in 1.4146s (0.0053s per result, 0.0013s per observation)
loaded 273 lab tests with a total of 1197 observations in 1.4767s (0.0054s per result, 0.0012s per observation)
loaded 335 lab tests with a total of 1543 observations in 2.6060s (0.0078s per result, 0.0017s per observation)
loaded 801 lab tests with a total of 2832 observations in 3.5744s (0.0045s per result, 0.0013s per observation)
loaded 22 lab tests with a total of 82 observations in 0.1605s (0.0073s per result, 0.0020s per observation)
loaded 44 lab tests with a total of 186 observations in 0.3250s (0.0074s per result, 0.0017s per observation)
loaded 521 lab tests with a total of 1698 observations in 1.4245s (0.0027s per result, 0.0008s per observation)
loaded 198 lab tests with a total of 975 observations in 1.7175s (0.0087s per result, 0.0018s per observation)
loaded 20 lab tests with a total of 66 observations in 0.1241s (0.0062s per result, 0.0019s per observation)
loaded 578 lab tests with a total of 2663 observations in 2.0001s (0.0035s per result, 0.0008s per observation)
loaded 946 lab tests with a total of 3284 observations in 2.5032s (0.0026s per result, 0.0008s per observation)
loaded 1204 lab tests with a total of 3889 observations in 4.0536s (0.0034s per result, 0.0010s per observation)
loaded 274 lab tests with a total of 1121 observations in 1.6623s (0.0061s per result, 0.0015s per observation)
loaded 831 lab tests with a total of 2900 observations in 2.7099s (0.0033s per result, 0.0009s per observation)
loaded 150 lab tests with a total of 534 observations in 0.4203s (0.0028s per result, 0.0008s per observation)
loaded 572 lab tests with a total of 2181 observations in 3.2051s (0.0056s per result, 0.0015s per observation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment