Re: [swift-dev] Performance issues in automatic reference counting (ARC)?

2017-02-01 Thread Mikio Takeuchi via swift-dev
Hi Roman and Michael, Thanks for your interest ! In order not to bother anyone else with a giant mail, I will send you my preliminary results in a separate mail. My prototype uses slightly old code base (last December), so some problems may have already resolved. It already has the second run

Re: [swift-dev] Performance issues in automatic reference counting (ARC)?

2017-01-31 Thread Michael Gottesman via swift-dev
> On Jan 31, 2017, at 12:07 AM, Mikio Takeuchi wrote: > > Hi Michael, > > > If you are interested in the perf difference with ARC atomics, Roman > > recently added a mode to the compiler called -assume-single-threaded that > > uses non-atomic reference counts

Re: [swift-dev] Performance issues in automatic reference counting (ARC)?

2017-01-31 Thread Roman Levenstein via swift-dev
Hi Mikio, > On Jan 31, 2017, at 12:07 AM, Mikio Takeuchi via swift-dev > wrote: > > Hi Michael, > > > If you are interested in the perf difference with ARC atomics, Roman > > recently added a mode to the compiler called -assume-single-threaded that > > uses non-atomic

Re: [swift-dev] Performance issues in automatic reference counting (ARC)?

2017-01-31 Thread Mikio Takeuchi via swift-dev
Hi Michael, > If you are interested in the perf difference with ARC atomics, Roman recently added a mode to the compiler called -assume-single-threaded that uses non-atomic reference counts anywhere. I think that is not exactly true. As of now, -assume-single-threaded option can eliminate

Re: [swift-dev] Performance issues in automatic reference counting (ARC)?

2016-12-17 Thread Michael Gottesman via swift-dev
> On Dec 17, 2016, at 11:13 AM, Brian Gesiak via swift-dev > wrote: > > Hello all! > > I really enjoyed Chris Lattner's slides from his talk at IBM >

Re: [swift-dev] Performance issues in automatic reference counting (ARC)?

2016-12-17 Thread Mark Lacey via swift-dev
> On Dec 17, 2016, at 11:13 AM, Brian Gesiak via swift-dev > wrote: > > Hello all! > > I really enjoyed Chris Lattner's slides from his talk at IBM >

[swift-dev] Performance issues in automatic reference counting (ARC)?

2016-12-17 Thread Brian Gesiak via swift-dev
Hello all! I really enjoyed Chris Lattner's slides from his talk at IBM < http://researcher.watson.ibm.com/researcher/files/us-lmandel/lattner.pdf>. The speaker notes mention ARC: "There are two principle downsides to ARC that people cite: one is the need for atomic increment/decrements, which