/
Browse
/
Courses
/
Optimizing Performance in SAP Analytics Cloud Story Design | ZH
/
优化脚本性能
了解 SAP Analytics Cloud 中的故事设计及其对性能的影响
了解 SAP Analytic Cloud 故事中的性能
5 min
使用性能洞察工具分析故事性能
5 min
Quiz
优化故事设计中的性能
用户体验和性能的计划故事设计
5 min
使用故事设计的数据可视化最佳实践
11 min
优化故事设计
9 min
Quiz
优化数据加载性能
探索数据加载
11 min
在故事级别使用加载优化”设置
34 min
使用数据刷新设置控制小组件级别的数据加载
17 min
使用附加数据加载设置和功能
9 min
Quiz
优化脚本性能
了解脚本编写性能
3 min
分析脚本编写性能
3 min
优化脚本性能
7 min
以有效方式使用 API 设置过滤器
13 min
决定何时使用 getResultSet API 而不是 getMembers API
8 min
在故事脚本中使用 setVariableValue API
4 min
Quiz
了解 SAP Analytics Cloud 中的故事设计及其对性能的影响
了解 SAP Analytic Cloud 故事中的性能
5 min
使用性能洞察工具分析故事性能
5 min
Quiz
优化故事设计中的性能
用户体验和性能的计划故事设计
5 min
使用故事设计的数据可视化最佳实践
11 min
优化故事设计
9 min
Quiz
优化数据加载性能
探索数据加载
11 min
在故事级别使用加载优化”设置
34 min
使用数据刷新设置控制小组件级别的数据加载
17 min
使用附加数据加载设置和功能
9 min
Quiz
优化脚本性能
了解脚本编写性能
3 min
分析脚本编写性能
3 min
优化脚本性能
7 min
以有效方式使用 API 设置过滤器
13 min
决定何时使用 getResultSet API 而不是 getMembers API
8 min
在故事脚本中使用 setVariableValue API
4 min
Quiz
Knowledge quiz
It's time to put what you've learned to the test, get 8 right to pass this unit.
1.
What are the two things to consider when deciding if you want to use variables from a BEx Query out of an SAP BW system in your scripts?
There are two correct answers.
Filters require an extra validation round trip to the backend.
Variable values need to be validated, so an extra backend request is required.
Changing a single variable can trigger multiple widgets to be rendered again with each change.
When using multiple variables, the setVariableValue() API must be written one line after the other.
2.
When troubleshooting performance issues, when is script optimization typically required?
Choose the correct answer.
When there are frontend performance issues.
When there are network performance issues.
When there are backend performance issues.
3.
Which of the following statements about the Main thread are not true?
Choose the correct answer.
The Main thread handles the whole story processing.
The Main thread can communicate with all of the data sources.
The Main thread processes the story scripts.
The Main thread responds to requests from the SandboxWorker thread for information that is handled outside of the script.
4.
What are the two core threads that are used when processing a script in an SAP Analytics Cloud story?
There are two correct answers.
Main thread
SandboxWorker thread
Processor thread
Technical thread
5.
Which tool is commonly used to visualize the communication between the Main thread and the SandboxWorker thread when a script is processed in an SAP Analytics Cloud story?
Choose the correct answer.
Browser developer tools, such as Chrome DevTools
SAP Analytics Cloud Performance Insights tool
Script Performance tool
Script Processing Communication tool
6.
Which of the following statements about scripting performance are true?
There are two correct answers.
Data connections do not impact on script processing times.
Performance can vary depending on how the story is set up and how the scripts are written.
Script processing is related to frontend time, so it may be slower, or even faster, depending on the user’s machine.
The getResultSet API in a script is faster and should always be used instead of the getMembers API to read dimension members.
7.
Whatever you code in the onResultsetChanged event script, what do you need to make sure you avoid doing?
Choose the correct answer.
Avoid adding additional results sets to the script.
Avoid changing the same result set.
Avoid adding a getResultSet API to the script.
8.
Which of the following is not a script optimization recommendation?
Choose the correct answer.
Use the getResultSet optional Selections argument that can be used to restrict the return array.
Use a local variable to store the result set instead of multiple getResultSet methods to reduce communication between the Main thread and SandboxWorker thread.
Use a text box to store intermediate states while the script is being processed.
9.
From the statements below, select the ones that are true.
There are two correct answers.
Using the copyDimensionFilter API specifies another data source from where the filter is to be copied reducing the number of backend requests.
Using the setDimensionFilter API with only a member ID causes an additional roundtrip to the backend to retrieve the member description.
Using multiple setDimensionFilter API calls providing the value for the same dimension member as string, they are automatically batched into a single backend request.