Azure-Samples / Iot-Telemetry-Simulator

The IoT Telemetry Simulator allows you to test Azure IoT Hub or Eventhub ingestion at scale. The implementation is communicating with Azure IoT Hub using multiplexed AMQP connections. An automation library allows you to run it as load test as part of a CI/CD pipeline.
MIT License
67 stars 49 forks source link

Make payload generation complexity linear. #15

Closed gukoff closed 3 years ago

gukoff commented 3 years ago

Purpose

Make payload generation complexity linear. Currently it's quadratic, see #12

--> benchmark <--

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type

What kind of change does this Pull Request introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

TBD

What to Check

TBD Verify that the following are valid

gukoff commented 3 years ago

This is the first iteration of the PR.

I haven't tested this change yet, and I haven't added proper comments to explain tokenization to the reader.

gukoff commented 3 years ago

Ready for review.

TechPreacher commented 3 years ago

Code looks good. Tried it out and it works fine. Looks good to me - thanks for the great contribution!

gukoff commented 3 years ago

Continued in #18