# The FPS reached infinity

**URL:** https://forum.makecode.com/t/the-fps-reached-infinity/8948
**Category:** Help
**Created:** [June 28, 2021, 5:07pm UTC](https://forum.makecode.com/t/the-fps-reached-infinity/8948 "2021-06-28T17:07:22Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![E-EnerG-Gamecentral](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/e-energ-gamecentral/32/5353_2.png) [@E-EnerG-Gamecentral](https://forum.makecode.com/u/E-EnerG-Gamecentral)
#### Post date: [June 28, 2021, 5:07pm UTC](https://forum.makecode.com/t/the-fps-reached-infinity/8948/1 "2021-06-28T17:07:22Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/c/c6b684363987fbc9523dbb7d8d6bff3423bc299a.png)  
🤯  
I did not know that the FPS could reach that high…  
Is this an error?

---

<div class="post-metadata">

### Author: ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)
#### Post date: [June 28, 2021, 5:53pm UTC](https://forum.makecode.com/t/the-fps-reached-infinity/8948/2 "2021-06-28T17:53:59Z")

</div>

(I’m guessing JavaScript represents super high values as `infinity` cause it’s so big)

---

<div class="post-metadata">

### Author: ![E-EnerG-Gamecentral](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/e-energ-gamecentral/32/5353_2.png) [@E-EnerG-Gamecentral](https://forum.makecode.com/u/E-EnerG-Gamecentral)
#### Post date: [June 28, 2021, 9:06pm UTC](https://forum.makecode.com/t/the-fps-reached-infinity/8948/3 "2021-06-28T21:06:47Z")

</div>

but it was in blocks…

---

<div class="post-metadata">

### Author: ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)
#### Post date: [June 28, 2021, 9:51pm UTC](https://forum.makecode.com/t/the-fps-reached-infinity/8948/4 "2021-06-28T21:51:49Z")

</div>

The code that determines the FPS (which is hidden somewhere in the common packages and I’m too lazy to find it) is written in TypeScript which gets turned into JavaScript. Also your block and Python code is eventually turned into JavaScript as well. (Unless you compile for hardware - they probably skip conversion to JS and turn the TypeScript directly into C++ and then most likely assembly)
