measure resource consumption of Wemos D1 mini

Hi,

I am using wemos D1 mini to get sensors data and publish them to MQTT broker. I want to know the resource comsumption of my card while publishing multiple data (CPU.memory..) . Did someone have an idea ?

Thank you