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

182
Views
Measuring the Performance with the Hermes Engine

I am trying to profiling in React Native and using hermes engine. I want measure the time in between a function call. In Js We can use console.time or performace.now but when I am using those fucntion with hermes engine I am getting "Undefined is not a function" Error.

When I am running the same code with Chrome debugger it is working fine.

Can anyone suggest how i can implement the below code with the hermes engine.

const checkTime = () => {
   console.time('time_NoOp');
   doNothing();
   console.timeEnd('time_NoOp');
   
};   

.

enter image description here

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Update:

I am able to solve the problem by using the below code

const PerformanceTime=() => {
   const t0 = performance.now();
   doNothing();
   const t1 = performance.now();
   console.log(t1 - t0);
}
about 4 years ago · Juan Pablo Isaza Report
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!