CAD Performance & Optimization Flashcards
6 cards from real CAD practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 6 CAD Performance & Optimization flashcards as text
Which SAPUI5 rendering optimization technique avoids re-rendering an entire list when only one item changes?
Answer: Using growingThreshold with client-side model updates and key-based diffing
Key-based list diffing combined with growingThreshold allows SAPUI5 to update only the changed item's DOM nodes rather than the entire list.
What is the purpose of SAP HANA's partition pruning feature?
Answer: Skips partitions that cannot contain relevant rows based on the query filter, reducing scan scope
Partition pruning eliminates irrelevant partitions at query planning time, so HANA only scans partitions that can satisfy the filter predicate.
In a CAD application using CAP (Cloud Application Programming Model), which caching annotation prevents repeated DB queries for static code-list entities?
Answer: @cds.autoexpose
@cds.autoexpose with read-only code lists allows CAP to serve these entities directly from in-process cache without hitting the database each time.
Which HTTP response header should a CAD developer configure to enable browser caching of static SAPUI5 resources?
Answer: Cache-Control: max-age=31536000, immutable
Cache-Control: max-age with immutable tells browsers to cache static assets for one year without revalidation, eliminating redundant HTTP requests.
What is the benefit of enabling SAP HANA's 'Result Cache' for analytical Calculation Views?
Answer: It reuses cached query results for identical queries within a configurable time window, avoiding re-computation
The HANA Result Cache stores the output of expensive Calculation View queries so identical subsequent queries return immediately from cache.
When profiling a slow SAPUI5 application, which browser tool is most useful for identifying JavaScript execution bottlenecks?
Answer: Performance tab flame chart to identify long-running JS tasks
The Performance tab's flame chart visualizes the call stack over time, making it easy to spot expensive JavaScript functions or long tasks.