Lionel
Lionel8mo ago

Performance Question

I have a Deno application, which creates API endpoint, and uses mongodb. Now I want to host this on a Ubuntu server. Performance-wise, should I just copy the source code and use the Deno command to run it, or should I create a executable (using the deno cli)?
4 Replies
Lionel
Lionel8mo ago
So basically: Does creating an executable have an performance impact (in comparison to just running the TS files)?
raunioroo
raunioroo8mo ago
should be negligible difference, if any. no need to compile
NeTT
NeTT8mo ago
the executable is just the TS file with deno packed with it shouldn't be any different
Lionel
Lionel8mo ago
Ah okay Thank you!
More Posts
Is there a way to get a server's SSL certificate's public information with Deno?This is available in Node with `getPeerCertificate()` but not in Deno's Node compatibility layer - iInvalidData: No certificates found in cert fileHello! Following up from a previous help post here, https://discord.com/channels/684898665143206084/Cannot use deno prompt when in windows CMDIt only works in the VSCode integrated terminal? I have added some output around the run command, buStreaming large files with fetch and FormDataHi, I'm trying to find a way to build multiplart/form-data requests in Deno that contain large filesIf I want to integrate a fully featured Deno runtime into my application, where do I start?I want to create a scripting environment for my application that will enable people to create customTrying to deploy a project on Deno Deploy with a private Github repository dependencyBy reading the docs at https://docs.deno.com/runtime/manual/basics/modules/private I found that I caHow can I make sure the code gets run on the client-side??!```tsx import { useEffect, useState } from "preact/hooks"; export default function Callback() { VSCode + Deno + Vite + TypescriptJust setup a project with `create-vite-extra` but all the starter files are full of typescript errorMemory LimitHello guys, in some situations i'am receiving one of the following error message `dd-hard-memory-limGoogle CalendarHi! I am looking for a minimal example how to access google calendar API. I already obtained creden