Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

135
Views
How does awaiting synchronous functions affect nodejs performance?

I encountered a practice were developers make synchronous functions asynchronous in order to make less adjustments in the future if and when the functions may change to asynchronous. What I would like to know is what is the price paid for such a practice, I assume the cost is in performance but if there is another cost I would like to know as well

const sum = async (a,b) => a + b // Made async as preparation for unknown future changes 

const someAsncFunc = async (...) => {
  ...
  const res1 = await someRealAsyncFunc(...)
  ...
  const res2 = await sum(a, b)
  ...
}
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!