Overview
Comment: | Dashboard performance fix |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.65-ignore | v1.65-junk |
Files: | files | file ages | folders |
SHA1: |
8e136e0b88a684d9913e057c70a90877 |
User & Date: | mrwellan on 2020-10-01 15:54:10 |
Other Links: | branch diff | manifest | tags |
Context
2020-10-01
| ||
19:54 | Bumping version Closed-Leaf check-in: 1d52e25fdf user: mrwellan tags: v1.6574, v1.65-ignore, v1.65-junk | |
16:19 | Fix for 22011491157.3: Error: (directory) cannot open directory - No such file or directory Closed-Leaf check-in: 9a3a677ab5 user: mrwellan tags: v1.65-fix-22011491157, v1.65-ignore, v1.65-junk | |
15:54 | Dashboard performance fix check-in: 8e136e0b88 user: mrwellan tags: v1.65-ignore, v1.65-junk | |
14:25 | Re-did changes 523db and 88d54. Error -> info and a print not using debug:print. check-in: 441c1a8d23 user: mrwellan tags: v1.65-ignore, v1.65-junk | |
Changes
Modified dashboard.scm from [de2783652b] to [dda7de241a].
︙ | |||
210 211 212 213 214 215 216 217 218 219 220 221 222 223 | 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 | + | ;; (define (dboard:common-set-tabdat! commondat tabnum tabdat) (hash-table-set! (dboard:commondat-tabdats commondat) tabnum tabdat)) (define *updater-running* #f) ;; move this into one of the stucts ;; gets and calls updater list based on curr-tab-num ;; (define (dboard:common-run-curr-updaters commondat #!key (tab-num #f)) (if (dboard:common-get-tabdat commondat tab-num: tab-num) ;; only update if there is a tabdat (let* ((tnum (or tab-num (dboard:commondat-curr-tab-num commondat))) (updaters (hash-table-ref/default (dboard:commondat-updaters commondat) tnum |
︙ | |||
899 900 901 902 903 904 905 | 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 | - + + - - + + - - - | (elapsed-time (- (current-seconds) start-time))) (if (null? all-test-ids) (hash-table-delete! (dboard:tabdat-allruns-by-id tabdat) run-id) (hash-table-set! (dboard:tabdat-allruns-by-id tabdat) run-id run-struct)) (if (or (null? tal) (> elapsed-time 2)) ;; stop loading data after 5 seconds, on the next call more data *should* be loaded since get-tests-for-run uses last update (begin |
︙ | |||
2503 2504 2505 2506 2507 2508 2509 | 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 | - - - - | sort-lb))) ) ;; insert extra widget here (if extra-widget extra-widget (iup:hbox)) ;; empty widget |
︙ | |||
3799 3800 3801 3802 3803 3804 3805 | 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 | - - - - - - - - + + + + + + + + + + + - - - + + + | commondat (lambda () (dashboard:runs-tab-updater commondat 1)) tab-num: 2) (iup:callback-set! *tim* "ACTION_CB" (lambda (time-obj) |
︙ |