Optimise your Micro:Bit code with Chrome DevTools

General News

Summary

That meant I had to optimise my code, but the normal MakeCode IDE doesn’t provide any tools to let you inspect your program while it’s running. This post walks you through how to build a test bench website for your code and use the Chrome Developer Tools to optimise it. It is aimed at more advanced Micro:Bit users, but you don’t need any experience with HTML or web development in general. The resulting website looks like this: Stubbing the Micro:Bit methods can be really hard at first, and it’s often unclear what approach to take. A few techniques I’d recommend looking into are: In the performance profiler, you may see that your program spends a lot of time doing garbage collection (GC).

Classifications

industries
Fintech & Banking
applications
Audit

AskAI Classifications

Labels
Developer Tools DevOps Software SaaS

Linked Companies

GitHub, Inc.
$1M to $5M
Npmjs
$1M to $5M