When I edit a web page in safari. with opened visual studio code a moment ago, and didn't close it.
The cpu just jump higher, so I close that web page and visual studio code, then the cpu jump down to normal. Not sure what case this.
I have notice that the mds is lower when the mds_stores are high.
PS: it's macOS 10.15.1
Edit:
I didn't think it's duplicate of another question mds-and-mds-stores-constantly-consuming-cpu, because in that question, the situation is
- lower cpu consumer: mds:
11.9%, mds_stores:9.6, - compare to mine: mds:
1.3, mds_stores:701.8(kind of killing my cpu) - the cpu drop down to normal after I close the webpage & vscode.

11%, mine is700%. huge different. I was afraid my computer killed by this.. – JerryZhou Nov 29 '19 at 14:49sudo mdutil -a -i offyou can run this command to disable the indexing of Spotlight.sudo mdutil -a -i onto put it back on. https://apple.stackexchange.com/questions/144474/mds-and-mds-stores-constantly-consuming-cpu – Philippe Remy Oct 10 '21 at 11:13