perf: 文件整理

This commit is contained in:
msojocs 2022-09-04 19:03:39 +08:00
parent ab7a477d40
commit 26035ed77c
13 changed files with 15 additions and 5 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
node_modules
test/**/*.json
test/**/*-output.js
test-result.log
nwjs

View File

@ -1,4 +1,13 @@
<script>
require('./wcc_test')
require('./wcsc_test')
</script>
<html>
<head>
<title>node test</title>
<meta charset="utf-8">
</head>
<body>
<button onclick="location.reload();">刷新</button>
<script>
require('./wcc_test')
require('./wcsc_test')
</script>
</body>
</html>

View File

@ -173,6 +173,7 @@ const test = async (options, id) => {
result = JSON.stringify(wcc_result, null, 4)
fs.writeFileSync(path.resolve(__dirname, `${id}/wcc_node_${MODE}.txt`), result)
};
(async () => {
for(let options of wcc_options){
await test(options[0], options[1]);