P Y B A G
Copyright (c) 2007 .. 2019, Mazhugin Aleksey
Main page

Manual
Screenshots
History
License
Performance
API documentation
Download
Help forum
Discussion forum
Feature request
Support request
Bugs report
Donate

Performance for PYBAG v 0.2.0


Test 1 (Normal)

This is working files synchronization test.

As show in testing results below - CLI (command line interface) is faster then GUI (grafical).
This difference is more under linux platform. The huge output (verbosity 4, debug on) with CLI is 2 times slower then with small output (verbosity 3, debug off). GUI and huge output is drop down performance relative CLI with smal output (linux: 10 times and more, windows: about 3 times).

In test results not included time for build file tree in GUI. Windows build tree about 0.5 seconds, linux build tree about 3 and more seconds.
This is becouse currently build algirithm not optimized and linux repaint all changes into tree, but Windows freeze repaint and wait while operation is done, and repaint once (this only for wxPython where "freeze" function under linux have no effect).

System configuration 1 System configuration 2
Dell Inspiron 1525 T8300:
Core2Duo 2.4 GHz, RAM 2 GB

OS:
Linux Ubuntu 9.04
Python 2.5.4
wxPython 2.8.9.2

File systems:
origin: EXT3, HDD 5400
bag: FAT32, USB2.0-FlashDrive Transcend JF150
Pentium 4 3.0 GHz, Hyperthreading
RAM 2 GB

OS:
Windows XP SP2
Python 2.5.4
wxPython 2.8.9.2

File systems:
origin: FAT32, USB2.0-FlashDrive Transcend JF150
bag: NTFS, HDD 7200

Systems is have neer performance (when testing single statements with python "timeit" function).

Items (files, folders) count: 664 items (583 files, 79 folders, 2 symlinks).
Items size: 7 553 KBytes.
All item in synchronized state (equal).
Testing result in seconds.

Command
options
Description System configuration 1 System configuration 2
-l1 -v3 -m0
CLI.
Logging on.
Verbosity 3.
Debug off.
Summary = 1,955
Read = 0,805
Compare = 0,112
Synchronize = 0,101
Clear = 0,001
Save = 0,935
Summary = 5,265
Read = 3,750
Compare = 0,250
Synchronize = 0,219
Clear = 0,0
Save = 1,046
-l0 -v3 -m0
CLI.
Logging off.
Verbosity 3.
Debug off.
Summary = 1,845
Read = 0,784
Compare = 0,060
Synchronize = 0,065
Clear = 0,001
Save = 0,934
Summary = 4,984
Read = 3,657
Compare = 0,140
Synchronize = 0,140
Clear = 0,0
Save = 1,047
-l1 -v3 -m0 -t1
CLI.
Logging on.
Verbosity 3.
Debug on.
Summary = 3,652
Read = 2,399
Compare = 0,141
Synchronize = 0,160
Clear = 0,001
Save = 0,951
Summary = 9,501
Read = 7,688
Compare = 0,344
Synchronize = 0,375
Clear = 0,015
Save = 1,079
-l1 -v4 -m0
CLI.
Logging off.
Verbosity 4.
Debug off.
Summary = 2,192
Read = 0,811
Compare = 0,246
Synchronize = 0,214
Clear = 0,001
Save = 0,919
Summary = 8,719
Read = 3,719
Compare = 2,890
Synchronize = 1,016
Clear = 0,0
Save = 1,094




--gui -l1 -v3 -m0
GUI.
Logging on.
Verbosity 3.
Debug off.
Summary = 7,280
Read = 3,172
Compare = 1,030
Synchronize = 1,161
Clear = 0,288
Save = 1,088
Summary = 6,766
Read = 4,829
Compare = 0,375
Synchronize = 0,422
Clear = 0,093
Save = 1,047
--gui -l1 -v3 -m0 -t1
GUI.
Logging on.
Verbosity 3.
Debug on.
Summary = 9,615
Read = 6,025
Compare = 0,991
Synchronize = 1,186
Clear = 0,322
Save = 1,091
Summary = 12,688
Read = 10,062
Compare = 0,563
Synchronize = 0,797
Clear = 0,203
Save = 1,063
--gui -l1 -v4 -m0
GUI.
Logging off.
Verbosity 4.
Debug off.
Summary = 28,499
Read = 4,483
Compare = 8,217
Synchronize = 14,441
Clear = 0,293
Save = 1,065
Summary = 8,953
Read = 4,844
Compare = 1,437
Synchronize = 1,484
Clear = 0,094
Save = 1,094
--gui -l1 -v2 -m0
GUI.
Logging off.
Verbosity 2.
Debug off.
Summary = 7,157
Read = 3,582
Compare = 1,040
Synchronize = 1,153
Clear = 0,283
Save = 1,099
Summary = 6,733
Read = 4,812
Compare = 0,359
Synchronize = 0,437
Clear = 0,094
Save = 1,031

IF YOU LIKE PYBAG AND FOUND IT USEFUL WHEN YOU CAN DONATE TO AUTHOR SOME MONEY HERE.

If you do not want donate money then you can treat the author cap of coffee and pizza.

Donate !!!

THANK YOU.

Test 2 (Huge)

This is backup test.

As view from result - first synchronization is very slow becouse need copy all files to bag (copying speed is neer then copy throw system file manager). The next synchronization is more faster.

System configuration
Dell Inspiron 1525 T8300:
Core2Duo 2.4 GHz, RAM 2 GB

OS:
Linux Ubuntu 9.04
Python 2.5.4
wxPython 2.8.9.2

File systems:
origin: EXT3, HDD 5400
bag: FAT32, USB2.0-HDD 5400

Items (files, folders) count: 318 022 items (291 296 files, 26 096 folders, no symlinks).
Items size: 22,250 GBytes.

Description First synchronization after adding root. Will be copied all files as new.
Second and next synchronization. All files is equal.
-l1 -v2 -m0 -dbagall

CLI.
Logging on.
Verbosity 2.
Debug off.
Forced to bag.
Summary = 25 467 s (7 h : 04 m : 27 s)
Read = 540 s (09 m : 00 s)
Compare = 69 s
Synchronize = 24 834 s (6 h : 53 m : 54 s)
Clear = 0,55 s
Save = 22 s
Summary = 2 695 s (44 m : 55 s)
Read = 2 520 s (42 m : 00 s)
Compare = 72 s
Synchronize = 81 s
Clear = 0,51 s
Save = 21,5 s



Get pybag at SourceForge.net. Fast, secure and Free Open Source software downloads