• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

GannettDigital / jstransform / 104
79%
master: 34%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.8.6
DEFAULT BRANCH: master
Ran 04 Oct 2018 04:12PM UTC
Jobs 1
Files 10
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Oct 2018 04:11PM UTC coverage: 79.063% (-1.7%) from 80.776%
104

Pull #32

travis-ci

web-flow
Rework transformer so that it walks the schema only on initialization

The initialization builds up a tree of transformIdentifiers which are
used to drive the transformation step. This makes the code easier to
follow, allows for better unit testing, enables concurrently
transforming multiple input files and is faster.

Performance improvement since the last release:
name                                                                                         old time/op    new time/op    delta
Transformer/Use_basic_transforms,_copy_from_input_and_default_to_build_result-8                 164µs ± 5%      71µs ± 2%  -56.58%  (p=0.000 n=10+10)
Transformer/Array_transforms,_tests_arrays_with_string_type_and_with_a_single_object_type-8     267µs ± 7%      61µs ± 6%  -77.13%  (p=0.000 n=9+10)
Transformer/Test_all_operations-8                                                               200µs ± 6%      57µs ± 1%  -71.72%  (p=0.000 n=10+10)
Transformer/Test_empty_non-required_object-8                                                    164µs ± 1%      70µs ± 0%  -57.38%  (p=0.000 n=9+10)
Transformer/Test_empty_non-required_array-8                                                     149µs ± 2%      35µs ± 4%  -76.28%  (p=0.000 n=10+10)
Transformer/Test_nested_arrays-8                                                                373µs ± 2%      86µs ± 3%  -76.90%  (p=0.000 n=10+10)
Transformer/Test_format:_date-time_strings-8                                                   63.7µs ± 2%    26.1µs ± 1%  -59.08%  (p=0.000 n=10+8)

name                                                                                         old alloc/op   new alloc/op   delta
Transformer/Use_basic_transforms,_copy_from_input_and_default_to_build_result-8                57.8kB ± 0%    41.9kB ± 0%  -27.48%  (p=0.000 n=10+9)
Transformer/Array_transforms,_tests_arrays_with_string_type_and_with_a_single_object_type-8    77.3kB ± 0%    36.8kB ± 0%  -52.40%  (p=0.000 n=10+10)
Transformer... (continued)
Pull Request #32: Rework transformer so that it walks the schema only on initialization

311 of 311 new or added lines in 4 files covered. (100.0%)

1080 of 1366 relevant lines covered (79.06%)

24.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 104.1 (DEP_VERSION="0.4.1") 04 Oct 2018 04:12PM UTC 0
79.06
Travis Job 104.1
Source Files on build 104
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #104
  • Pull Request #32
  • PR Base - master (#100)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc