我在Gradle构建中使用--profile
标记来查看每个任务使用的时间,但它不提供细粒度数据。
我想进一步向下钻,看看每次测试需要多少时间。我需要通过按时间排序来确定哪些测试消耗的时间最多。
答案 0 :(得分:1)
procedure PlaySoundFile(FileName: string);
begin
if FileExists(FileName)
then PlaySound(pchar(FileName), 0, SND_ASYNC or SND_FILENAME);
{ Flags are:
SND_SYNC =0 = Start playing, and wait for the sound to finish
SND_ASYNC =1 = Start playing, and don't wait to return
SND_LOOP =8 = Keep looping the sound until another sound is played }
end;
的测试结果报告应该已经为您提供了所需的信息。