My spark job is consuming data from a kafka topic and performing some operations. The difference comes in the serialization, one is using java serialization and the other is using kryo serialization. How to compare these two streaming jobs as they have a different number of inputs per second and different input batch size in the same time interval?