Simulating concurrent transactions with different isolation levels but my code is very slow
imulation Details:
Implement a simulation with two types of users:
Type A Users: Perform update queries within transactions.
Type B Users: Perform select queries within transactions.
Each user type runs their respective transactions 100 times in a loop. Measure the time taken to complete these transactions and record the results.