Slow mac build rt5

@peterdb Can you try the one from this topic please? Support for Pentax pixel shift files #3489 - #310 by partha

More info needed.

@peterdb, If you use the build from the discussion that @heckflosse suggested, please let me know how slow it is etc.

Also, as @Morgan_Hardwood requested, can you provided a screenshot when you use the one @heckflosse suggested?

TIA,
Partha

Thanks. Making adjustments seems a bit faster.
Exporting to other application is still terribly slow.
On start-up still the half-size window. Resizing doesn’t change anything on next start-up.
See attached.

@peterdb, can you post the AboutThisBuild for the fast version of RT please? Thanks!

Version: 5.0-r1-gtk3-304-g209ea35
Branch: dev
Commit: 209ea35
Commit date: 2017-03-28
Compiler: cc 8.0.0.8000042
Processor: generic x86
System: Apple
Bit depth: 64 bits
Gtkmm: V3.22.0
Build type: Release
Build flags: -stdlib=libc++ -std=c++14 -O3 -mmacosx-version-min=10.9 -std=c++11 -mtune=generic -Werror=unused-label -O3 -DNDEBUG
Link flags: -headerpad_max_install_names -mtune=generic
OpenMP support: ON
MMAP support: ON

@peterdb When you say “slow”, can you provide some metric like it, “it takes 5 minutes for the application to start an external editor” etc.?

Also, can you provide a description of your Mac; make, model etc.?

Thanks,
Partha

If I understood @peterdb correctly,

Slow:

Version: 5.0-r1-gtk3
Branch: releases
Commit: 50114c1a
Commit date: 2017-02-01
Compiler: cc 8.0.0.8000042
Processor: generic x86
System: Apple
Bit depth: 64 bits
Gtkmm: V3.22.0
Build type: Release
Build flags: -stdlib=libc++ -std=c++14 -O3 -mmacosx-version-min=10.9 -std=gnu++11 -mtune=generic -Werror=unused-label -O3 -DNDEBUG
Link flags: -headerpad_max_install_names -mtune=generic
OpenMP support: ON
MMAP support: ON

Still slow:

Version: 5.0-r1-gtk3-304-g209ea35
Branch: dev
Commit: 209ea35
Commit date: 2017-03-28
Compiler: cc 8.0.0.8000042
Processor: generic x86
System: Apple
Bit depth: 64 bits
Gtkmm: V3.22.0
Build type: Release
Build flags: -stdlib=libc++ -std=c++14 -O3 -mmacosx-version-min=10.9 -std=c++11 -mtune=generic -Werror=unused-label -O3 -DNDEBUG
Link flags: -headerpad_max_install_names -mtune=generic
OpenMP support: ON
MMAP support: ON

Fast:

Branch: master
Version: 4.2.1025
Changeset: dc4bbe906ba92ddc66f98a3c26ce19822bfb99ab
Compiler: clang-mp-3 3.9.0
Processor: generic x86
System: Apple
Bit depth: 64 bits
Gtkmm: V2.24.4
Build type: Release
Build flags: -w -std=gnu++11 -mtune=generic -Werror=unused-label -fopenmp=libomp -Werror=unknown-pragmas -O3 -DNDEBUG
Link flags: -mtune=generic
OpenMP support: ON
MMAP support: ON

@peterdb please report how long it takes to save this raw file to a JPEG using amsterdam.pef.pp3, in both the fast and slow build. While testing, keep the raw file and the output JPEG file on your local hard drive, not on a network drive.

@peterdb Please post the contents of AboutThisBuild.txt from 4.2.1025.

Yes, that’s what I meant as well. TIA

Branch: master
Version: 4.2.1025
Changeset: dc4bbe906ba92ddc66f98a3c26ce19822bfb99ab
Compiler: clang-mp-3 3.9.0
Processor: generic x86
System: Apple
Bit depth: 64 bits
Gtkmm: V2.24.4
Build type: Release
Build flags: -w -std=gnu++11 -mtune=generic -Werror=unused-label -fopenmp=libomp -Werror=unknown-pragmas -O3 -DNDEBUG
Link flags: -mtune=generic
OpenMP support: ON
MMAP support: ON

Partha, it’s a 21 inch iMac (late 2015) 1,6 ghz intel core i5 with 16 gb ram / intel HD Graphics 6000 1536 MB / 250 gb ssd.

i notice only now that in your slow versions there is no -fopenmp compilation flag. I suspect that is the culprit

I updated my post.

@agriggio that looks like it. Ping @partha @ion12

@peterdb please still post the requested timings.

Hi Morgan, did some testing.

With RT 4.2.1025
start up 5 sec
open image 3 sec
open in AffinityPhoto 8 sec
save as JPEG 4 sec

With RT 5.0-r1-gtk3-304-g209ea35
start up 10 sec
open image 4 sec
open in AffinityPhoto 31 sec
save as JPEG 19 sec

@peterdb you can try this build, it’s something we’re working on: https://filebin.net/roixzk8ecgqmye8o

Hi, this build seems not compatible with Mac OSSierra : I got a warning and could not install. No problem : I will wait till a next build on the downloadsection.
Take your time to iron things out. Thanks in advance.

We’re working on the macOS build system. Hopefully @partha or @ion12 can supply a new build soon.

@peterdb
Peter, I’ve just attained success at building RT for mac and it seems faster for me, give it a try if you’d like.

RawTherapee 5.1 released

Hello everyone, thanks for launching RT 5.1 and the incredible work you guys are doing. The new release works faster on MacOS and some minor issues seem ironed out. I report back when I bump into issues. Keep up the good work.

3 Likes