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

How to test my own data in file, such as Json, Csv. #1509

Open
lichenmao opened this issue Jan 5, 2024 · 1 comment
Open

How to test my own data in file, such as Json, Csv. #1509

lichenmao opened this issue Jan 5, 2024 · 1 comment
Labels
question Further information is requested

Comments

@lichenmao
Copy link

Please share the technical limitation of Caliper that you encountered.

In examples, the data is auto generated. However, I want to use my own data to test.

Please detail your feature idea that could alleviate the limitation.

Give an API that can use own data.

Please share some details about your use case if possible, and how the new feature would make Caliper a better performance benchmarking framework.

No response

Please share any suggestions about the new feature's code/configuration API (using formatted YAML segments or pseudo-code).

No response

@lichenmao lichenmao added the enhancement New feature or request label Jan 5, 2024
@davidkel
Copy link
Contributor

davidkel commented Jan 5, 2024

@lichenmao Sorry I'm not sure I follow. Can you provide an example of how you would like caliper to work which you can't achieve currently ? With caliper you have to write your own workload modules and as such you control the information via these workload modules that are sent to the blockchain environments. So for example rather than hard code logic that perhaps generates a sequence of parameters as shown in caliper-benchmarks you can write a workload module to load a json file or csv file to get the data to be sent. This is standard javascript and so caliper doesn't need to provide anything extra to achieve this

@davidkel davidkel added question Further information is requested and removed enhancement New feature or request labels Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants