GGPerformance.tioga
Created by Bier on June 20, 1986 12:24:35 pm PDT
Dated Benchmarks. All times in milli-seconds.
Mapping Performance
1) Load arcbench.gargoyle. Run Gravity Test in the Debug Menu
Using Spline Path Code (arcbench.gargoyle):
Map. started: 1001. total: 70494. avg: 70. min: 17. max: 514, index: 112, June 20, 1986, Bier
Using Code Specially Designed for Arcs:
Map. started: 1001. total: 30004. avg: 29. min: 18. max: 693, index: 171, June 20, 1986, Bier
Caching BoundBoxes:
Map. started: 1001. total: 9090. avg: 9. min: 3. max: 617, June 20, 1986, Bier
Map. started: 1001. total: 7513. avg: 7. min: 4. max: 125, June 30, 1986, Bier on Langley
Map. starts: 1001. total: 6317. avg: 6. min: 3. max: 52, September 30, 1986, Bier, Independence
Multi-Gravity becomes the new standard, October 8, 1986, Bier, Kearsarge
MultiMap. starts: 1001. total: 21313. avg: 21. min: 6. max: 644
UniMap. starts: 1001. total: 6607. avg: 6. min: 3. max: 498
After putting in some storage pools, October 8, 1986, Bier, Kearsarge:
MultiMap. starts: 1001. total: 7068. avg: 7. min: 4. max: 64, index: 476
UniMap. starts: 1001. total: 6186. avg: 6. min: 3. max: 41, index: 634
2) Load windowhacker.gargoyle. Run Gravity Test in the Debug Menu.
Using Spline Path Code:
Map. started: 1001. total: 363847. avg: 363. min: 171. max: 1375, June 20, 1986, Bier
Using Code Specially Designed for Arcs:
Map. started: 1001. total: 260051. avg: 259. min: 172. max: 1083, June 20, 1986, Bier
Caching BoundBoxes:
Map. started: 1001. total: 65513. avg: 65. min: 11. max: 733, June 20, 1986, Bier
Map. started: 1001. total: 71334. avg: 71. min: 41. max: 248, June 30, 1986, Bier, Langley
Map. starts: 1001. total: 42324. avg: 42. min: 14. max: 230, September 30, 1986, Bier, Independence
Multi-Gravity becomes standard, October 8, 1986, Bier, Kearsarge
MultiMap. starts: 1001. total: 47091. avg: 47. min: 15. max: 245, index: 39
UniMap. starts: 1001. total: 43681. avg: 43. min: 14. max: 227, index: 39
3) Load TrajAlignTest.gargoyle. Turn on 0 and 30 degree slope lines. Turn on 1 inch circles. Run Gravity Test in the Debug Menu.
MultiMap. starts: 1001. total: 33395. avg: 33. min: 20. max: 236, index: 685
UniMap. starts: 1001. total: 24142. avg: 24. min: 19. max: 103, index: 327
4) Load windowhacker.gargoyle. Run Multi Gravity Test in the Debug Menu.
Multi Gravity (with n = 5):
MultiMap. started: 1001. total: 61565. avg: 61. min: 11. max: 952, June 20, 1986, Bier
MultiMap. started: 1001. total: 70668. avg: 70. min: 40. max: 280, June 30, 1986, Bier, Langley
MultiMap. starts: 1001. total: 40567. avg: 40. min: 12. max: 726, October 1, 1986, Bier, Independence
5) Load hacker.gargoyle. Run Gravity Test in the Debug Menu.
Base Case:
Map. started: 1001. total: 207209. avg: 207. min: 152. max: 937, index: 1001
Caching BoundBoxes:
Map. started: 1001. total: 42646. avg: 42. min: 10. max: 277, June 20, 1986, Bier
Map. started: 1001. total: 52855. avg: 52. min: 36. max: 231, June 30, 1986, Bier, Langley
Text Performance
June 20, 1986 5:08:11 pm PDT
1) Load teddy.gargoyle. Type the words "Now is the time for all" in the middle of the bear.
AddChar. started: 23. total: 33782. avg: 1468. min: 1384. max: 2923, index: 1
AddChar. started: 23. total: 37100. avg: 1613. min: 1475. max: 2991, index: 1, June 30, 1986, Bier on Langley
AddChar. started: 22. total: 4635. avg: 210. min: 144. max: 1287, index: 13, July 3, 1986, Bier, Langley
AddChar. starts: 22. total: 1403. avg: 63. min: 53. max: 81, index: 21, October 1, 1986, Bier, Independence
2) Type "Now is the time for all" in an empty viewer.
AddChar. started: 23. total: 1874. avg: 81. min: 68. max: 143, index: 1, June 30, 1986, Bier, Langley
AddChar. started: 22. total: 1472. avg: 66. min: 56. max: 77, index: 21, July 3, 1986, Bier, Langley
AddChar. starts: 22. total: 1389. avg: 63. min: 53. max: 72, index: 21, October 1, 1986, Bier, Independence
Adding Performance
1) Load windowhacker.gargoyle. Add a line from the lower left corner of the window to the upper right corner.
June 24, 1986 Bier, BunkerHill
StartAdd.     started: 2. total: 3034. avg: 1517. min: 1386. max: 1647, index: 1
StoreBackground. started: 2. total: 1879. avg: 939. min: 812. max: 1067, index: 1
SetBags.    started: 2. total: 805. avg: 402. min: 399. max: 406, index: 1
AddPaint.   started: 4. total: 276. avg: 69. min: 59. max: 79, index: 4
June 24, 1986, Bier, BunkerHill. Put Caret on its own plane.StartAdd.
StartAdd.     started: 2. total: 1159. avg: 579. min: 565. max: 594, index: 2
StoreBackground. started: 2. total: 38. avg: 19. min: 17. max: 20, index: 1
SetBags.    started: 2. total: 764. avg: 382. min: 380. max: 384, index: 1
AddPaint.   started: 4. total: 292. avg: 73. min: 64. max: 82, index: 4
July 2, 1986, Bier, Langley. Building the gravity bags incrementally. Fixed a refresh bug that caused the Background to be made from scratch.
StartAdd.     started: 2. total: 687. avg: 343. min: 293. max: 393, index: 2
SetBags.     started: 2. total: 256. avg: 128. min: 126. max: 130, index: 1
AddPaint.    started: 6. total: 472. avg: 78. min: 70. max: 94, index: 4
EndAdd. started: 2. total: 5615. avg: 2807.
October 1, 1986, Bier, Independence. Routine performance check:
StartAdd. starts: 1. total: 341. avg: 341.
SetBagsForAction. starts: 1. total: 243. avg: 243.
UpdateBagsForAction. starts: 1. total: 104. avg: 104.
EndAdd. starts: 1. total: 505. avg: 505 (a bit high).
EndAdd. started: 2. total: 12236. avg: 6118, Date?, Bier, ?
Made MergeBackgroundAndOverlay redraw only the objects which are in front of the new one, i.e. none:
EndAdd. started: 2. total: 613. avg: 306. Date? (probably July 1986), Bier, ?
2) Playback BigG.script.
July 8, 1986, Bier, Langley
StartAdd. starts: 13. total: 10609. avg: 816. min: 277. max: 2016
EndAdd. starts: 1. total: 202. avg: 202. min: 202. max: 202
August 2, 1986, Bier, Independence, (dunno why this is so fast, maybe Independence helps)
StartAdd. starts: 13. total: 7452. avg: 573. min: 277. max: 890, index: 8
EndAdd. starts: 1. total: 530. avg: 530. min: 530. max: 530
August 2, 1986, Bier, Independence, (painting Alignment lines black instead of gray)
StartAdd. starts: 13. total: 7232. avg: 556. min: 284. max: 871, index: 9
EndAdd. starts: 1. total: 366. avg: 366. min: 366. max: 366, index: 1
October 1, 1986, Bier, Independence (a bit high)
StartAdd. starts: 13. total: 9766. avg: 751. min: 308. max: 1951, index: 9
EndAdd. starts: 1. total: 277. avg: 277. min: 277. max: 277, index: 1
3) Playback AddTest1.script
July 8, 1986, Bier, Langley
StartAdd. starts: 5. total: 2768. avg: 553. min: 486. max: 675, index: 1
EndAdd. starts: 3. total: 1473. avg: 491. min: 481. max: 504, index: 2
October 1, 1986, Bier, Independence
StartAdd. starts: 5. total: 2828. avg: 565. min: 388. max: 1005, index: 5
EndAdd. starts: 3. total: 1528. avg: 509. min: 438. max: 569, index: 2
3) Reset Stats. Playback AddTest2.script.
October 1, 1986, Bier, Independence
Much of the StartAdd time is for drawing alignment lines.
StartAdd. starts: 21. total: 15461. avg: 736. min: 240. max: 2017, index: 21
EndAdd. starts: 9. total: 3224. avg: 358. min: 140. max: 630, index: 4
Caret Positioning Performance
June 24, 1986 4:20:57 pm PDT, Bier, BunkerHill
Caret Positioning. (windowhacker.gargoyle):
StartCaretPos. started: 2. total: 960. avg: 480. min: 460. max: 500, index: 1
StartCaretPos. started: 32. total: 4145. avg: 129. min: 79. max: 200, July 3, 1986, Bier, Langley
Setting Up Gravity Bags
June 24, 1986 4:55:36 pm PDT, Bier, BunkerHill
Caret Positioning. random testing (windowhacker.gargoyle):
SetBagsForAction. started: 52. total: 18620. avg: 358. min: 199. max: 1281, index: 38
 ComputeBoundBoxes. started: 52. total: 2877. avg: 55. min: 49. max: 67, index: 40
 Allocations: about 50% of this time.
Drawing Time
Refresh! (windowhacker.gargoyle):
PaintEntireScene. Using BuildPath for MaskStroke. starts: 1. avg: 3921
PaintEntireScene. Second Trial. starts: 1. avg: 3945
PaintEntireScene. Using MaskStroke for MaskStroke. starts: 1. avg: 3476
PaintEntireScene. Second Trial. starts: 1. avg: 3466, July 7, 1986, Bier on Langley
 A 13% difference.
PaintEntireScene. Using PaintSingleStrokeTraj starts: 1. avg: 3133
PaintEntireScene. Second Trial. starts: 1. total: 3030
PaintEntireScene. avg: 3096, October 1, 1986, Bier, Independence