question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Performance on i5 better then on latest i9

See original GitHub issue

I have very basic test and very strange results.

console.time("ROTATE-RESIZE")
sharp('./photo.JPG')
  .rotate(90)
  .resize(200)
  .toBuffer()
    .then(()=> {
      console.timeEnd("ROTATE-RESIZE")
    })

On Macbook Pro Mojave ( Core i5-7267U, 8RAM, Iris VGA) execution time is ~93ms While on Desktop Ubuntu 18.4 (Core i9-7944X, 16Ram , M2 SSD, Geforce 1050) execution time is ~121ms

I bought this monster PC to speed up resizing, but in reality I got 20% performance decrease. Do you have any explanation ?

Thank you.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lovellcommented, Nov 15, 2018

Glad you worked it out. If you’d like to donate something, please do so to a homelessness charity local to you.

0reactions
golojadscommented, Nov 15, 2018

False alarm. One file processing make no sense. Once I run it on 590 different files, each applied unique set of modifications( scale, rotate, combine, extend, extract) - the result on Ubuntu machine was 4.1 times faster. ( 6.81min vs 1.66min)

More than happy.

Thank you for assistance and the package itself. Do you have donations wallet for “Sharp” ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Intel Core i9 vs. i7 vs. i5: Which CPU Should You Buy?
In Intel's simple terms, the Core i9 is faster than the Core i7, which is faster than the Core i5. But faster isn't...
Read more >
UserBenchmark: Intel Core i5-9600K vs i9-7900X
Based on 340626 user benchmarks for the Intel Core i5-9600K and the Core i9-7900X, we rank them both on effective speed and value...
Read more >
Intel Core i5-10210U vs Intel Core i9-9880H
Why is Intel Core i9-9880H better than Intel Core i5-10210U? ; 2.87x faster CPU speed · 8 x 2.3GHz · 4 x 1.6GHz...
Read more >
Intel Core i5 vs. i7 vs. i9 CPU Comparison: Which is better ...
Additionally, i7 CPUs have higher clock speeds than their i5 counterparts, albeit only slightly. For instance, the Core i7-11700K has a boost clock...
Read more >
Intel Core i9-12900K vs. i5-12600K: Which is the better ...
If all you want to do is play games and enjoy some content, the Core i5 will be more than enough. If you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found