projects
/
tools
/
apitrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb5d873
)
Make Snappy compression/decompression the default
author
Zack Rusin
<zack@kde.org>
Sat, 6 Aug 2011 23:06:56 +0000
(19:06 -0400)
committer
Zack Rusin
<zack@kde.org>
Sat, 6 Aug 2011 23:06:56 +0000
(19:06 -0400)
It's about 10x faster!
trace_parser.cpp
patch
|
blob
|
history
trace_writer.cpp
patch
|
blob
|
history
diff --git
a/trace_parser.cpp
b/trace_parser.cpp
index
ebb6f07
..
d53d62c
100644
(file)
--- a/
trace_parser.cpp
+++ b/
trace_parser.cpp
@@
-39,7
+39,7
@@
namespace Trace {
Parser::Parser() {
- file = new Trace::
ZLib
File;
+ file = new Trace::
Snappy
File;
next_call_no = 0;
version = 0;
}
diff --git
a/trace_writer.cpp
b/trace_writer.cpp
index
a615960
..
bc2ee6c
100644
(file)
--- a/
trace_writer.cpp
+++ b/
trace_writer.cpp
@@
-42,7
+42,7
@@
namespace Trace {
Writer::Writer() :
call_no(0)
{
- m_file = new Trace::
ZLib
File;
+ m_file = new Trace::
Snappy
File;
close();
}