Is there a tool to measure how much mem proc your code uses ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Is there a tool to measure how much mem proc your code uses ?

Many times when I try to write my codes (mostly python for now), I see many different ways to get one thing done. I am self learner. So I wondered : thes guys up there somewhere must have created some tools to see what the beast behind the code does and how much energy it takes her (beast is female in french, btw). Sometimes I could measure the time taken by long procedures, but for short ones, it's too quick to give me a clue. And I would appreciate to test the difference and start to understand how to code efficiently with some actual proof of this efficiency, not only people saying so (and often contraditing each-other) on forums. Thank you all !

10th Oct 2017, 12:22 PM
Cépagrave
Cépagrave - avatar
6 Answers
+ 6
Thank CPasGrave for following me !
10th Oct 2017, 4:26 PM
Mattéo
+ 5
Ah ouai (ben jsuis français xD) moi j'essaie de créer un langage interprété en JavaScript
11th Oct 2017, 7:38 AM
Mattéo
+ 5
Courage, @Cpasgrave !!! Plus que 5 XP pour le prochain niveau... ;)
11th Oct 2017, 7:39 AM
Mattéo
+ 4
CPasGrave bien joué ;)
11th Oct 2017, 7:04 AM
Mattéo
+ 1
Thank you Kurwius ! Exactly what I thought about. I'll start and learn how to use it. Good coding to you !
10th Oct 2017, 9:07 PM
Cépagrave
Cépagrave - avatar
+ 1
Eh ! bien joué toi aussi, et en français ! Tu travailles sur un code en ce moment ? Moi je suis en train de faire un générateur de texte utilisant la methode markov ... encore en cours.
11th Oct 2017, 7:37 AM
Cépagrave
Cépagrave - avatar