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

GannettDigital / jstransform / 101 / 1
79%
master: 34%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.8.6
DEFAULT BRANCH: master
Ran 02 Oct 2018 10:44PM UTC
Files 10
Run time 1s
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

02 Oct 2018 10:42PM UTC coverage: 79.063%. First build
DEP_VERSION="0.4.1"

push

travis-ci

tkuhlman
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)

1080 of 1366 relevant lines covered (79.06%)

24.87 hits per line

Source Files on job 101.1 (DEP_VERSION="0.4.1")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 87
  • Travis Job 101.1
  • 6ab5903b on github
  • Next Job for DEP_VERSION="0.4.1" on perf4 (#103.1)
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