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

twang2218 / pmap / 52
96%

Build:
DEFAULT BRANCH: master
Ran 18 Jan 2018 12:19AM UTC
Jobs 4
Files 15
Run time 1min
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

pending completion
52

push

travis-ci

twang2218
Improve sorting part performance.

* Replace `dplyr::arrange()` with `data.table::setorder()` to improve performance. It improves performance by 2-4x.
* Add `data.table (>= 1.9.6)` to dependencies, as `setorder()` supports `data.frame` only since `1.9.6`.

For 10 millions records eventlog:

```R
el_10m <- generate_eventlog(10000000, 2000000, c("campaign", "sale"), c(10, 3))
system.time(create_pmap(el_10m))
```

The comparison is following:

```
           user  system elapsed
Before   68.376   0.872  69.329
After    21.983   3.982  26.823
```

Signed-off-by: Tao Wang <twang2218@gmail.com>

336 of 343 relevant lines covered (97.96%)

70.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 52.1 18 Jan 2018 12:19AM UTC 0
97.96
Travis Job 52.1
2 52.2 18 Jan 2018 12:20AM UTC 0
97.96
Travis Job 52.2
3 52.3 18 Jan 2018 12:20AM UTC 0
97.96
Travis Job 52.3
4 52.4 18 Jan 2018 12:20AM UTC 0
97.96
Travis Job 52.4
Source Files on build 52
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #52
  • 6e835a45 on github
  • Prev Build on master (#51)
  • Next Build on master (#53)
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