-
Notifications
You must be signed in to change notification settings - Fork 308
Conversation
Currently the test failing is
due to unsupported rest parameters. Support for them is shown here: http://node.green/#ES2015-syntax-rest-parameters They are flagged as warnings below node v6.4.0. There is a PR about setting the node engines, #32 but I would like to be a little more 'edgy' with this so we can have a hawt codebase here. |
I pulled this branch and set the node engine to The OrderBookSync ones looked a little bit iffy, they took a while to complete. ✓ OrderbookSync public client should stream trades: 2784ms
✓ OrderbookSync public client should stream trades with function: 3365ms |
ping @fb55 |
@fb55 I would really like to work on getting this merged and working, is there something we can do to get this happening or can the community here get an update at least of what is going on? I have pinged you guys multiple times over the last 2 months... Can we be a little more professional about this? |
@awitherow I didn't have a chance to investigate the performance regressions at the time, which is why I didn't pursue it any further. I would love it if someone could take this over. |
In looking at updating tests for my own refactoring, I found that the current tests for I've opened a new PR #55 that has a local copy of the requests for nock to use (I used |
@fb55 thank you for the response! Do you guys do any standardized performance testing for gdax-node already, or would we have to create a standard now? |
@nikulis That's a great find, thanks for looking into it! @awitherow We don't have anything like that for |
This would be a learning exercise in terms of how to do benchmark testing & performance stuff... So I am just shooting ideas and needing a little guidance. Would integration of something like this: Into the test suite help to track things in the future well? We could then even write the statistics to json and be able to see the trends in speed of the test suite over time? Is there a better way to do this? |
Also, what is to be done about the node version of the project? With the refactorings, a higher default node version is necessary for the code to even properly function. Thoughts on using v8.0.0? |
Closing in favor of #60 |
lib/request_signer
was already using a couple of ES6 features, so this shouldn’t break anything.Switches codebase to classes and arrow functions, replaces lodash with ES5 array extras and normalizes whitespace to four spaces.