<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/spec/support, 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-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>Refs: #4720@1.3h;</title>
<updated>2017-10-16T05:50:34+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-13T16:17:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=9dd7b4d050b64b6fcaebb2cd3f635593a0cb34c3'/>
<id>9dd7b4d050b64b6fcaebb2cd3f635593a0cb34c3</id>
<content type='text'>
   Validation implemented for min_max_values with correct I18n'd error messages

Applied to: VehicleJourneyControl::Speed &amp; GenericAttributeControl::MinMax
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
   Validation implemented for min_max_values with correct I18n'd error messages

Applied to: VehicleJourneyControl::Speed &amp; GenericAttributeControl::MinMax
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs: #4267@0.45h;</title>
<updated>2017-10-02T11:50:56+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-02T11:38:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=ee88198df36ffc666b7b5bb8dda6851ce953af4a'/>
<id>ee88198df36ffc666b7b5bb8dda6851ce953af4a</id>
<content type='text'>
- setting up a CCCLD subdir struct for CCCLD related tests
- removed all occcurances of `@@default_criticity`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- setting up a CCCLD subdir struct for CCCLD related tests
- removed all occcurances of `@@default_criticity`
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs: #4627@1h;</title>
<updated>2017-10-02T11:26:06+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-02T11:26:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=ed5f05acf1d604eab807f3455ea628179ab55408'/>
<id>ed5f05acf1d604eab807f3455ea628179ab55408</id>
<content type='text'>
  - Rebase on udated master
  - Removal of `default_criticity` from ComplianceControl Class Level Defaults
  - Refactoring of specs to allow usage of the same shared examples (given that more models need to undergo the same refact)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  - Rebase on udated master
  - Removal of `default_criticity` from ComplianceControl Class Level Defaults
  - Refactoring of specs to allow usage of the same shared examples (given that more models need to undergo the same refact)
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs: #4627@2h;</title>
<updated>2017-10-02T08:52:07+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-09-29T16:23:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=1bc4ab6684803a3974bd65f6531bd43a57c15fd0'/>
<id>1bc4ab6684803a3974bd65f6531bd43a57c15fd0</id>
<content type='text'>
        Comprehensive Tests for ComplianceControl Class Level Default Attributes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
        Comprehensive Tests for ComplianceControl Class Level Default Attributes
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs: #4627@0.75h;</title>
<updated>2017-10-02T08:52:07+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-09-29T15:55:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=f034dc2999a56295178c64921e6f059adc1a7bd9'/>
<id>f034dc2999a56295178c64921e6f059adc1a7bd9</id>
<content type='text'>
Got some data_modifier support for attribute generation w/w-o defaults for model tests generic_attribute_control
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Got some data_modifier support for attribute generation w/w-o defaults for model tests generic_attribute_control
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #4635 Add permissions translations regarding the news models (Compliance Control)</title>
<updated>2017-09-28T19:24:16+00:00</updated>
<author>
<name>cedricnjanga</name>
</author>
<published>2017-09-28T19:24:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=f0970d2cdd852596f5bc2eaea94ca81fa93e0611'/>
<id>f0970d2cdd852596f5bc2eaea94ca81fa93e0611</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
