Hollywood binaries working faster on G4 than on G5?
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Georg
    Posts: 116 from 2004/4/7
    I bet it's the timing code itself. Remove it (GetTimer, StartTimer) and count seconds yourself.
  • »10.03.25 - 17:34
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    koszer
    Posts: 1277 from 2004/2/8
    From: Poland
    Quote:

    jPV wrote:
    I made some further tests now.

    First your Hollywood code can be optimized to much faster, and when doing that, results are more in line with the CPU performance.


    Wow. That's some improvement! Great work.
    The trick with DisableLineHook() really seems to affect the overal performance... at least in current MorphOS version.

    So basically you're saying that my (poorly optimized) code triggered some feature in MorphOS itself that dramatically cut the performance of G5 CPUs? And that feature has been somewhat fixed in 3.20?

    @Georg: The timer is right. I sure can tell the difference between 14 and 24 seconds even without using a stopper watch.

    [ Edited by koszer 10.03.2025 - 18:43 ]
  • »10.03.25 - 17:41
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Georg
    Posts: 116 from 2004/4/7
    Quote:

    koszer wrote:

    @Georg: The timer is right. I sure can tell the difference between 14 and 24 seconds even without using a stopper watch.


    You could not if for some reason the timer calls themselves were to delay execution several seconds ...
  • »10.03.25 - 18:57
    Profile