update
This commit is contained in:
		@@ -146,6 +146,7 @@ async function watch() {
 | 
			
		||||
    let statisticTimeDelta = Date.now() - watchParam.statisticTime;
 | 
			
		||||
 | 
			
		||||
    let statisticsString = [
 | 
			
		||||
        `${new Date(Date.now() + 8 * 3600 * 1000).toISOString()}`,
 | 
			
		||||
        `[与上次运行统计时相比] deltaTime: ${statisticTimeDelta}ms (${(statisticTimeDelta / 1000).toFixed(2)}s)`,
 | 
			
		||||
        `song: ${songCount - watchParam.songCount}, album: ${albumCount - watchParam.albumCount}, artist: ${artistCount - watchParam.artistCount}, lyric: ${lyricCount - watchParam.lyricCount}, comment: ${commentCount - watchParam.commentCount}(song)/${commentTotalCount - watchParam.commentTotalCount}(comment)`,
 | 
			
		||||
        `[已爬取]`,
 | 
			
		||||
@@ -156,7 +157,7 @@ async function watch() {
 | 
			
		||||
        `song: ${songCount + songWaiting}, album: ${albumCount + albumWaiting}, artist: ${artistCount + artistWaiting}, lyric: ${songCount}, comment: ${songCount}`,
 | 
			
		||||
        `[关联关系统计]`,
 | 
			
		||||
        `song-album: ${songAlbumCount}, song-artist: ${songArtistCount}`,
 | 
			
		||||
        `time spent: ${timeSpent}ms (${(timeSpent / 1000).toFixed(2)}s)`,
 | 
			
		||||
        `sql query time: ${timeSpent}ms (${(timeSpent / 1000).toFixed(2)}s)`,
 | 
			
		||||
        ``
 | 
			
		||||
    ].join('\n');
 | 
			
		||||
    console.log(statisticsString);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user