Hi,
I set license in Aspose.BarCode will take 700ms. codes are below,
var licPath = @“C:\projects\Aspose.lic”;
Stopwatch stopWatch = new Stopwatch();
stopWatch.Start();
var barcodeLic = new Aspose.BarCode.License();
barcodeLic.SetLicense(licPath);
stopWatch.Stop();
// Get the elapsed time as a TimeSpan value.
TimeSpan ts = stopWatch.Elapsed;
Console.WriteLine(ts.Milliseconds);
@ikram.haq,
I use Aspose.BarCode 17.10.0 from nuget .
License type is Aspose.Total for .NET.
I remove other Aspose components(Words, PDF).
It spend about 500ms ~ 600ms.
Thank you for sharing sample project. We have executed the sample project. It took 162 Milliseconds. Screenshot of the output screen is attached for your reference. barcode_time_test.jpg (92.2 KB)
@ikram.haq,
I have a question.
Why do we get different results (65ms vs 162ms) with my project and your original project in your computer ?
I thank codes are the same.
Yes, you are right. The codes are same the only difference is that i took out the statement creating barcode instance out of the start & stop method calls. Build the project and executed the .exe from bin/release folder.
From performance point of view they are almost equal. However, an investigation ticket has been created in our system with ID BARCODENET-36722 for further investigation by our Product team. We will update you here once there is some information or a fix version available in this regard.
The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan