<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core, 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>Merge branch 'master' of github.com:af83/stif-boiv</title>
<updated>2017-10-20T09:44:07+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-20T09:44:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=2315feae844a39ae9e86939b090bed0d2997f482'/>
<id>2315feae844a39ae9e86939b090bed0d2997f482</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #97 from af83/4741-clone_compliance_control_set</title>
<updated>2017-10-19T15:05:12+00:00</updated>
<author>
<name>teddywing</name>
</author>
<published>2017-10-19T15:05:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=3ee97da2ff5c782debcce2ab7365110c95471942'/>
<id>3ee97da2ff5c782debcce2ab7365110c95471942</id>
<content type='text'>
add clone method in compliance_control_sets_controller, add duplicate…</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
add clone method in compliance_control_sets_controller, add duplicate…</pre>
</div>
</content>
</entry>
<entry>
<title>prefer current_organisation.id for organisation_id param in copy method in ComplianceControlSetCloner class</title>
<updated>2017-10-19T13:38:12+00:00</updated>
<author>
<name>Guillaume</name>
</author>
<published>2017-10-19T13:38:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=aba7a66a6baf07b38e346caf05ae5606804d2976'/>
<id>aba7a66a6baf07b38e346caf05ae5606804d2976</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>modify UI for bottom buttons actions on compliance_control_sets#show, add new locales Refs #4752</title>
<updated>2017-10-19T13:28:18+00:00</updated>
<author>
<name>Guillaume</name>
</author>
<published>2017-10-19T13:28:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=86122f091fc58cccaa882e1d76368730f16d30da'/>
<id>86122f091fc58cccaa882e1d76368730f16d30da</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
