mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-24 12:45:18 +08:00
chore: test convert md 2 demo speed
This commit is contained in:
parent
17572949c2
commit
a1401287ff
@ -131,4 +131,10 @@ function convertMd2Demo (text) {
|
||||
}
|
||||
|
||||
module.exports = convertMd2Demo
|
||||
convertMd2Demo(fs.readFileSync('./marked/basic.md').toString())
|
||||
// const startTime = new Date()
|
||||
// for (let i = 0; i < 100; ++i) {
|
||||
// const md = fs.readFileSync('./marked/basic.md').toString()
|
||||
// convertMd2Demo(md)
|
||||
// }
|
||||
// const endTime = new Date()
|
||||
// console.log(endTime - startTime)
|
||||
|
Loading…
Reference in New Issue
Block a user