Back

Slow Function response times

  • 0
  • React Native
  • Functions
  • Cloud
IMONSP33D
4 Apr, 2025, 22:55

Gist with main functions: https://gist.github.com/IMONSP33D/6ad11e1c52f2c0c0ec96e433850514e6

The purpose of this function was to be fired on a user's email input to check if it was apart of a list of known temporary email domains and to see if the email was already used. It has had an average of a 3.9s response time, which is far too long for what I feel like it should be doing. Any recommendations?

TL;DR
Function for checking user email input is slow with an average response time of 3.9s. Make recommendations to improve speed. Check for inefficiencies such as unnecessary loops or large data sets. Dream coding speed in under 1s.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more