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

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

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.8.6
DEFAULT BRANCH: master
Ran 02 Oct 2018 10:45PM 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:43PM UTC coverage: 79.063% (-1.7%) from 80.776%
DEP_VERSION="0.4.1"

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

1080 of 1366 relevant lines covered (79.06%)

24.86 hits per line

Source Files on job 102.1 (DEP_VERSION="0.4.1")
  • Tree
  • List 0
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 88
  • Travis Job 102.1
  • 031ea2f1 on github
  • Prev Job for DEP_VERSION="0.4.1" on perf4 (#100.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