This commit is contained in:
tangly1024
2022-05-09 14:54:04 +08:00
parent 37465ca43e
commit 58a64eb3f4

View File

@@ -11,9 +11,9 @@ export async function getPostBlocks(id, from, slice) {
return filterPostBlocks(id, pageBlock, slice)
}
const start = performance.now()
const start = new Date().getTime()
pageBlock = await getPageWithRetry(id, from)
const end = performance.now()
const end = new Date().getTime()
console.log('[API耗时]', `${end - start}ms`)
if (pageBlock) {