What is the difference between text and compiled in the Script Export Mode?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By lena

When looking through the Godot export options, I saw an option named Script Export Mode. It’s clear to me what encrypted does, but what do the compiled and text option differently? I tried to Google it, but the first result is the linked answer, and the others didn’t really help either.
(Knowing me, I probably just looked over it)

:bust_in_silhouette: Reply From: Calinou

The Compiled mode compiles scripts to bytecode (.gdc), which speeds up script loading but not execution. Run-time performance will be exactly the same.

Interpreted should generally only be used for troubleshooting purposes.