Skip to content

Commit

Permalink
Re-run coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
davedoesdev committed Dec 5, 2019
1 parent 00fd053 commit 763e71b
Show file tree
Hide file tree
Showing 12 changed files with 944 additions and 643 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ before_install:
- sudo apt update
- sudo apt -y install libboost1.70-dev g++-9
script:
- if [ $TRAVIS_NODE_VERSION = 13 ]; then npm run coverage; else npm run test; fi
- if [ $TRAVIS_NODE_VERSION = 13 ]; then npm run coverage && npm run coveralls; else npm run test; fi
43 changes: 20 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,26 +143,23 @@ qlobber is also benchmarked in [ascoltatori](https://github.com/mcollina/ascolta

## Native Qlobbers

The Javascript Qlobbers can't support asynchronous calls and worker threads
The Javascript Qlobbers don't support asynchronous calls and worker threads
because Javascript values can't be shared between threads.

In order to support asynchronous calls and worker threads, a native C++
implementation is included. If you have the following then it will the native
version will be compiled when you install the module:

Gnu C++ version 9 or above
Boost 1.70 or above
implementation is included. If you have Gnu C++ version 9+ and Boost 1.70+
then the native version will be compiled when you install the module.

If compilation succeeds then the following classes will be available alongside
the Javascript classes:

`Qlobber.nativeString`
`Qlobber.nativeNumber`
`QlobberDedup.nativeString`
`QlobberDedup.nativeNumber`
`QlobberTrue.native`
- `Qlobber.nativeString`
- `Qlobber.nativeNumber`
- `QlobberDedup.nativeString`
- `QlobberDedup.nativeNumber`
- `QlobberTrue.native`

They can only hold values of a single type (strings or numbers).
They can only hold values of a single type (currently strings or numbers).

You can also build the native implemention using one of these commands:

Expand All @@ -176,17 +173,17 @@ grunt rebuild [--debug]
The native classes support the same API as the Javascript classes but have the
following additional methods:

`addP`
`removeP`
`matchP`
`match_iterP`
`testP`
`clearP`
`visitP`
`get_restorerP`

They correspond to their corresponding namesakes but return Promises. Note that
`match_iterP` and `visitP` return async iterators.
- `addP`
- `removeP`
- `matchP`
- `match_iterP`
- `testP`
- `clearP`
- `visitP`
- `get_restorerP`

They correspond to their namesakes but return Promises. Note that `match_iterP`
and `visitP` return async iterators.

# API

Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Dec 04 2019 23:29:07 GMT+0000 (Greenwich Mean Time)
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu Dec 05 2019 22:47:08 GMT+0000 (Greenwich Mean Time)
</div>
</div>
<script src="prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/qlobber/aedes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Dec 04 2019 23:29:07 GMT+0000 (Greenwich Mean Time)
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu Dec 05 2019 22:47:08 GMT+0000 (Greenwich Mean Time)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/qlobber/aedes/qlobber-sub.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Dec 04 2019 23:29:07 GMT+0000 (Greenwich Mean Time)
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu Dec 05 2019 22:47:08 GMT+0000 (Greenwich Mean Time)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/qlobber/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Dec 04 2019 23:29:07 GMT+0000 (Greenwich Mean Time)
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu Dec 05 2019 22:47:08 GMT+0000 (Greenwich Mean Time)
</div>
</div>
<script src="../prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/qlobber/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Dec 04 2019 23:29:07 GMT+0000 (Greenwich Mean Time)
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu Dec 05 2019 22:47:08 GMT+0000 (Greenwich Mean Time)
</div>
</div>
<script src="../prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/qlobber/lib/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Dec 04 2019 23:29:07 GMT+0000 (Greenwich Mean Time)
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Thu Dec 05 2019 22:47:08 GMT+0000 (Greenwich Mean Time)
</div>
</div>
<script src="../../prettify.js"></script>
Expand Down

0 comments on commit 763e71b

Please sign in to comment.