# JUCE146 vs. JUCE152 drawing speed

**URL:** https://forum.juce.com/t/juce146-vs-juce152-drawing-speed/6855
**Category:** General JUCE discussion
**Created:** [May 13, 2011, 2:52pm UTC](https://forum.juce.com/t/juce146-vs-juce152-drawing-speed/6855 "2011-05-13T14:52:42Z")
**Posts on this page:** 8
**Page:** 2

<div class="post-metadata">

### Author: ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)
#### Post date: [May 14, 2011, 3:18pm UTC](https://forum.juce.com/t/juce146-vs-juce152-drawing-speed/6855/21 "2011-05-14T15:18:49Z")

</div>

Well, I guess it could be something weird about single-core machines… It’s a pity because the code that’s wrapped by the spinlock in Timer is very small, and really shouldn’t need anything as complicated as a critical section, but yes, I guess I should revert it…

---

<div class="post-metadata">

### Author: ![valhalladsp](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/valhalladsp/32/71_2.png) [@valhalladsp](https://forum.juce.com/u/valhalladsp)
#### Post date: [May 14, 2011, 5:27pm UTC](https://forum.juce.com/t/juce146-vs-juce152-drawing-speed/6855/22 "2011-05-14T17:27:42Z")

</div>

> [@jules](#):
>
> Well, I guess it could be something weird about single-core machines… It’s a pity because the code that’s wrapped by the spinlock in Timer is very small, and really shouldn’t need anything as complicated as a critical section, but yes, I guess I should revert it…

Will you please post here when this is reverted? Also, does anyone here have a machine for testing this on? My machines (Core2Duos) don’t display the bugs that seem related to this issue.

Thanks,

Sean Costello

---

<div class="post-metadata">

### Author: ![valhalladsp](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/valhalladsp/32/71_2.png) [@valhalladsp](https://forum.juce.com/u/valhalladsp)
#### Post date: [May 19, 2011, 4:34pm UTC](https://forum.juce.com/t/juce146-vs-juce152-drawing-speed/6855/23 "2011-05-19T16:34:53Z")

</div>

Any progress on this? I just got pinged by a customer, so I am hoping that I can use the tip soon to create a build of my plugin that doesn’t have these graphic issues.

Thanks,

Sean Costello

---

<div class="post-metadata">

### Author: ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)
#### Post date: [May 19, 2011, 4:40pm UTC](https://forum.juce.com/t/juce146-vs-juce152-drawing-speed/6855/24 "2011-05-19T16:40:05Z")

</div>

I did it a couple of days ago. Sorry, but asking me to post when I commit something is a bit futile, as I will inevitably forget or not have time. You can follow the sourceforge RSS if you need to watch out for a commit.

---

<div class="post-metadata">

### Author: ![valhalladsp](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/valhalladsp/32/71_2.png) [@valhalladsp](https://forum.juce.com/u/valhalladsp)
#### Post date: [May 19, 2011, 4:46pm UTC](https://forum.juce.com/t/juce146-vs-juce152-drawing-speed/6855/25 "2011-05-19T16:46:22Z")

</div>

> [@jules](#):
>
> I did it a couple of days ago. Sorry, but asking me to post when I commit something is a bit futile

I’m all about striving against futility here at Valhalla DSP! Seriously, plugin development feels like Sisyphus pushing that boulder up that hill. I’m sure you can relate - you’re the one having to deal with the low-level platform stuff.

Sean

P.S. More existential ranting about plugins: [Cave Paintings, Wabi-Sabi, and Plugins – The Halls of Valhalla](http://valhalladsp.wordpress.com/2011/05/16/cave-paintings-wabi-sabi-and-plugins/)

---

<div class="post-metadata">

### Author: ![TheVinn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/thevinn/32/806_2.png) [@TheVinn](https://forum.juce.com/u/TheVinn)
#### Post date: [May 19, 2011, 5:05pm UTC](https://forum.juce.com/t/juce146-vs-juce152-drawing-speed/6855/26 "2011-05-19T17:05:20Z")

</div>

> [@valhallasound](#):
>
> I’m all about striving against futility here at Valhalla DSP! Seriously, plugin development feels like Sisyphus pushing that boulder up that hill

I’m neck-deep in doo-doo with this project that I’ve been working on for 2+ years now. It seems every time I get something implemented, I discover subtle problems due to the interaction with other parts of the concurrent system (I’m up to 14 threads now). Sometimes it’s really difficult to keep my mental game up because it just feels overwhelming.

---

<div class="post-metadata">

### Author: ![valhalladsp](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/valhalladsp/32/71_2.png) [@valhalladsp](https://forum.juce.com/u/valhalladsp)
#### Post date: [May 19, 2011, 7:59pm UTC](https://forum.juce.com/t/juce146-vs-juce152-drawing-speed/6855/27 "2011-05-19T19:59:18Z")

</div>

Update: I built my plugins with the latest tip (using VS2010) and sent them to a customer that was having the drawing issues on the Pentium IV. He reports back that things work perfectly now. Woo-hoo!

Sean Costello

---

<div class="post-metadata">

### Author: ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)
#### Post date: [May 19, 2011, 8:24pm UTC](https://forum.juce.com/t/juce146-vs-juce152-drawing-speed/6855/28 "2011-05-19T20:24:59Z")

</div>

> [@](#):
>
> Update: I built my plugins with the latest tip (using VS2010) and sent them to a customer that was having the drawing issues on the Pentium IV. He reports back that things work perfectly now. Woo-hoo!

I wish I understood why the spinlocks would cause a problem though! I hate it when I see stuff that doesn’t make sense like that…

[Previous page](https://forum.juce.com/t/juce146-vs-juce152-drawing-speed/6855.md?page=1)
