Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: performance issue with toJSON() #130

Merged
merged 2 commits into from
Jan 14, 2019
Merged

fix: performance issue with toJSON() #130

merged 2 commits into from
Jan 14, 2019

Conversation

pjm17971
Copy link
Contributor

Fixes performance issue with toJSON() function
This change also fixes:

  • test setup that wasn't working anymore
  • syntax errors in a couple of the tests
  • removes the old website build for now because it's reported as a vulnerability (we should try to figure this out in the typescript master branch)

This change also fixes:
 - test setup that wasn't working anymore
 - syntax errors in a couple of the tests
 - removes the old website build for now because it's reported as a vulnerability (we should try to figure this out in the typescript master branch)
Copy link
Contributor

@jdugan1024 jdugan1024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

It might be helpful in the future to have a separate commit that has just the main functional change to emphasize that. That commit had a bunch of other stuff included making it hard to zero in on what was changed and what was just formatting.

If you have questions about your rights to use or distribute this software, please contact Berkeley Lab's Innovation & Partnerships Office at [email protected].

NOTICE. This software is owned by the U.S. Department of Energy. As such, the U.S. Government has been granted for itself and others acting on its behalf a paid-up, nonexclusive, irrevocable, worldwide license in the Software to reproduce, prepare derivative works, and perform publicly and display publicly. Beginning five (5) years after the date permission to assert copyright is obtained from the U.S. Department of Energy, and subject to any subsequent five (5) year renewals, the U.S. Government is granted for itself and others acting on its behalf a paid-up, nonexclusive, irrevocable, worldwide license in the Software to reproduce, prepare derivative works, distribute copies to the public, perform publicly and display publicly, and to permit others to do so.
ESnet Timeseries Library ("Pond.js"), Copyright (c) 2015-2018, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose this should be 2019.

}

const points = [];
for (const e of this._collection.events()) {
points.push(e.toPoint(this.columns()));
points.push(e.toPoint(columnList));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the main change, right? Most everything else is fixing the environment or the tests, yeah?

@pjm17971 pjm17971 merged commit 77ec65c into v0.8.x Jan 14, 2019
@pjm17971 pjm17971 deleted the v0.8.10 branch January 14, 2019 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants