<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/spec, branch faster-spex</title>
<subtitle>Chouette manage transport static data</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/'/>
<entry>
<title>bup [amend me]</title>
<updated>2017-10-24T06:40:14+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-24T06:40:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=c7e41672ee216aea8d905771b2672bb32b120c0c'/>
<id>c7e41672ee216aea8d905771b2672bb32b120c0c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Faster Spex.</title>
<updated>2017-10-23T08:12:14+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-23T08:12:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=c5e5e5bf1a7429dfa72bbd2f3d48eec7cac442a6'/>
<id>c5e5e5bf1a7429dfa72bbd2f3d48eec7cac442a6</id>
<content type='text'>
By using FactoryGirls's build strategy :build in associations the time penalty of using FactoryGirl
instead of ActiveRecord stubs is down to a factor &lt; 2.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By using FactoryGirls's build strategy :build in associations the time penalty of using FactoryGirl
instead of ActiveRecord stubs is down to a factor &lt; 2.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added meta tests for FactoryGirl support too</title>
<updated>2017-10-21T08:34:16+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-21T08:34:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=beaa8e127e6b6104cb377c9a2be4a6e4ecae6da9'/>
<id>beaa8e127e6b6104cb377c9a2be4a6e4ecae6da9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Faster Spex</title>
<updated>2017-10-21T08:25:30+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-21T08:20:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=e3f3d13b6c096f7dcd0e5429efc46a70c7da7e7c'/>
<id>e3f3d13b6c096f7dcd0e5429efc46a70c7da7e7c</id>
<content type='text'>
  - Clean object cache before each example with type :faster
  - Started to work on FactroyGirl integration

N.B. While FactoryGirl support right now only includes defaults it slows down the ActiveRecord based stubbing by a factor of ~2.5
which might be fixable if worth it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  - Clean object cache before each example with type :faster
  - Started to work on FactroyGirl integration

N.B. While FactoryGirl support right now only includes defaults it slows down the ActiveRecord based stubbing by a factor of ~2.5
which might be fixable if worth it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Benchmarks of the stubbed models</title>
<updated>2017-10-20T17:52:33+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-20T16:51:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=a91d34f1ab09ba90fc0e75d64c091adc74052746'/>
<id>a91d34f1ab09ba90fc0e75d64c091adc74052746</id>
<content type='text'>
Run with
        N=..., NO_RCOV= bundle exec spring rspec   --example 'stubbed' ./spec/models/faster_specs_spec.rb
or
        N=..., NO_RCOV= bundle exec spring rspec   --example 'in DB' ./spec/models/faster_specs_spec.rb

the benchmark result in seconds were:

     N:     |   10  |   20  |   40  |   80  |
------------+-------+-------+-------+-------+
   'in DB'  |   32  |   59  |  116  |  230  |
------------+-------+-------+-------+-------+
 'stubbed'  |  3.4  |  3.5  |  3.9  |  4.5  |
------------+-------+-------+-------+-------+

Considering warm up times that gives stubbed ~0.01s/N
and in DB ~2.8s/N or a factor of ~280
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Run with
        N=..., NO_RCOV= bundle exec spring rspec   --example 'stubbed' ./spec/models/faster_specs_spec.rb
or
        N=..., NO_RCOV= bundle exec spring rspec   --example 'in DB' ./spec/models/faster_specs_spec.rb

the benchmark result in seconds were:

     N:     |   10  |   20  |   40  |   80  |
------------+-------+-------+-------+-------+
   'in DB'  |   32  |   59  |  116  |  230  |
------------+-------+-------+-------+-------+
 'stubbed'  |  3.4  |  3.5  |  3.9  |  4.5  |
------------+-------+-------+-------+-------+

Considering warm up times that gives stubbed ~0.01s/N
and in DB ~2.8s/N or a factor of ~280
</pre>
</div>
</content>
</entry>
<entry>
<title>A promising approach to complete db stubbing</title>
<updated>2017-10-20T16:18:13+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-20T16:18:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=dce18aaeaf16a3109b801ba4cd8fd02d0cf564c0'/>
<id>dce18aaeaf16a3109b801ba4cd8fd02d0cf564c0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes: #4727@0.1h; Added organisation to clone for and rebased master</title>
<updated>2017-10-17T10:28:35+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-17T10:28:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=0b744d48fdc84445f593114fe61baaafca4e17f4'/>
<id>0b744d48fdc84445f593114fe61baaafca4e17f4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes: #4727@0.5h; Worker speced and implemented</title>
<updated>2017-10-17T10:19:59+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-17T08:50:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=bacb624a9d0415337dfab6418de240cd2afa7305'/>
<id>bacb624a9d0415337dfab6418de240cd2afa7305</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs: #4727@2h; Debugged test setup to comply to new validation</title>
<updated>2017-10-17T10:19:59+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-17T08:32:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=8fffc6dd27175b20cc18c246a10151bc98bba4ee'/>
<id>8fffc6dd27175b20cc18c246a10151bc98bba4ee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs: #4727@3h; Specing and implementing lib function to clone ComplianceControlSet</title>
<updated>2017-10-17T10:19:59+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-16T19:50:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=aaa5d31971ebf2b429efea3c869a8e132f9d0836'/>
<id>aaa5d31971ebf2b429efea3c869a8e132f9d0836</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
