Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想测量跨多个实例在 Windows azure 云上运行的代码的执行时间。谁能告诉我该怎么做。
您可以启用诊断日志记录并将来自 ap 的仪器/日志记录放入 Azure 表中。然后下载到 Excel 或其他任何文件中进行分析。您还可以捕获性能数据以进行关联(例如 CPU 与工作集)。
您必须手动计算。
以防万一您请求它来派生计费信息,请记住,在 Windows Azure 中,您按保留实例收费,而不必“运行”。
如果您的申请被“暂停”,您仍然需要付费。如果您的代码应用程序正在运行,但“空闲”(例如 99% 的 CPU 空闲),您仍然需要支付相同的费用。