Skip to content

Commit

Permalink
improved zone geographies
Browse files Browse the repository at this point in the history
  • Loading branch information
morganherlocker committed Sep 25, 2019
1 parent 40d0e18 commit a61b4d3
Show file tree
Hide file tree
Showing 14 changed files with 27,970 additions and 568 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
CHANGELOG
---

## 3.0.0

- trip & status hashing feature
- custom aggregation zones option in config
- retry MDS when provider API failures occur
- cache matches during summarization - ~10x backfill speedup
- report hashing including metrics and code version
- add report signature to report interface
- test cache layer
- monthly metrics summaries
- fix regression in weekly aggregate calculation
- fix export all dump failure
- remove deprecated "all" provider

## 2.0.4

- upgrade sharedstreets-js to v0.13.0
Expand Down
16 changes: 10 additions & 6 deletions bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,26 +46,30 @@ async function bench() {

var start = new Date().getTime();

var count = 0
var count = 0;

for (let trip of trips) {
count++
count++;
await tripMatch(trip, config, graph);
}

var stop = new Date().getTime();

console.log('trip match avg: ' + ((stop - start) / count).toFixed(4) + 'ms');
count = 0
console.log("trip match avg: " + ((stop - start) / count).toFixed(4) + "ms");
console.log("measured across " + count + " trips");
count = 0;
start = new Date().getTime();

for (let change of changes) {
count++
count++;
await changeMatch(change, config, graph);
}

stop = new Date().getTime();
console.log('change match avg: ' + ((stop - start) / count).toFixed(4) + 'ms');
console.log(
"change match avg: " + ((stop - start) / count).toFixed(4) + "ms"
);
console.log("measured across " + count + " changes");
}

bench();
Loading

0 comments on commit a61b4d3

Please sign in to comment.