-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e18d662
commit 2d104c5
Showing
5 changed files
with
110 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
isdefined(Main, :JuNarsese) || include("commons.jl") # 已在此中导入JuNarsese、Test | ||
#= | ||
专注于JuNarsese的性能测试 | ||
专注于JuNarsese的性能评估 | ||
=# | ||
|
||
# 使用可视化的性能评估库`ProfileView` | ||
using ProfileView # 参考:https://www.math.pku.edu.cn/teachers/lidf/docs/Julia/html/_book/perf.html#perf-prof | ||
|
||
begin "番外:性能评估" | ||
|
||
@info "性能评估开始" | ||
|
||
# 避免与VSCode冲突 | ||
ProfileView.@profview @equal_test StringParser_ascii test_set # 先前测试已触发编译 | ||
|
||
readline() # 在直接执行时,防止异步操作提前退出(不会影响`Pkg.test`) | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters