summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-08-22Add comment clarifying that the proto2 benchmark is ugly and temporary.Joshua Haberman
2011-08-21Some progress on upb_stdio.Josh Haberman
It's still not correct, but it's closer.
2011-08-20Fold gen-deps.sh into Makefile.Joshua Haberman
2011-08-20Let the JIT emit hasbit-setting code in addition to calling a callback.Joshua Haberman
This leads to a major (20-40%) improvement in the parsetoproto2 benchmark with small messages. We now are faster than proto2 in all apples-to-apples comparisons, at least given the (admittedly limited) set of benchmarks in this source tree.
2011-08-20Fix stack alignment on OS X.Joshua Haberman
2011-08-20Prime the decoder buf for modest perf improvement on small messages.Joshua Haberman
2011-08-20Some Makefile cleanup.Joshua Haberman
2011-08-19More cleanup.Joshua Haberman
2011-08-19Some source cleanup/commenting.Joshua Haberman
2011-08-19Renamed lang_ext -> bindings, README updates.Joshua Haberman
2011-08-19Avoid longjmp() in successful case.Josh Haberman
Speeds up short messages by 15-25%.
2011-08-19Fix proto2 benchmark for newer proto2.Josh Haberman
2011-08-19Benchmark to parse into proto2 messages.Joshua Haberman
2011-08-17x86 JIT: add callback specializations for a 10% speedup when parsing to struct.Joshua Haberman
2011-08-17Benchmark JIT vs no JIT without forcing a whole-project recompile.Joshua Haberman
2011-08-12Python: fleshed out accessors.Joshua Haberman
2011-08-12Python: basic SymbolTable support and empty accessors.Joshua Haberman
2011-08-11Python: fixed object cache and fleshed out MessageDef a bit.Joshua Haberman
2011-08-10Fixed overzealous assert().Joshua Haberman
2011-08-10Fixed a few memory leaks and Makefile tweaks.Joshua Haberman
2011-08-10Fixed off-by-one stack allocation error.Joshua Haberman
2011-08-10Python: Implemented weak-ref'd object cache.Joshua Haberman
Also some preliminary work on upb.MessageDef.
2011-08-09Makefile target for running Python tests.Joshua Haberman
2011-08-09More Python upb.FieldDef functionality and tests.Joshua Haberman
2011-08-08Begin port of Python extension to new APIs.Joshua Haberman
2011-08-04More work on Lua extension, and consequent core refactoring.Joshua Haberman
2011-07-31More work on Lua extension.Joshua Haberman
2011-07-31Fixed "make descriptorgen".Joshua Haberman
2011-07-29Significant work on Lua extension.Joshua Haberman
Also changes in core library to accommodate.
2011-07-19Added comment about how to disassemble JIT output.Joshua Haberman
2011-07-16Get rid of upb_symtabtxn.Joshua Haberman
This type was nothing but a map of defs. We can as easily just pass an array of defs into upb_symtab_add().
2011-07-15Make Lua extension build again.Joshua Haberman
2011-07-15Directory restructure.Joshua Haberman
Includes are now via upb/foo.h. Files specific to the protobuf format are now in upb/pb (the core library is concerned with message definitions, handlers, and byte streams, but knows nothing about any particular serializationf format).
2011-07-14Major refactoring: upb_string is gone in favor of upb_strref.Joshua Haberman
2011-06-17Major refactoring: abandon upb_msg, add upb_accessors.Joshua Haberman
Next on the chopping block is upb_string.
2011-05-21Make all handlers objects refcounted.Joshua Haberman
I'm realizing that basically all upb objects will need to be refcounted to be sharable across languages, but *not* messages which are on their way out so we can get out of the business of data representations. Things which must be refcounted: - encoders, decoders - handlers objects - defs
2011-05-21Add proof-of-concept C++ wrapper header.Joshua Haberman
2011-05-20Add startseq/endseq handlers.Joshua Haberman
Startseq/endseq handlers are called at the beginning and end of a sequence of repeated values. Protobuf does not really have direct support for this (repeated primitive fields do not delimit "begin" and "end" of the sequence) but we can infer them from the bytestream. The benefit of supporting them explicitly is that they get their own stack frame and closure, so we can avoid having to find the array's address over and over and deciding if we need to initialize it. This will also pave the way for better support of JSON, which does have explicit "startseq/endseq" markers: [].
2011-05-20JIT: factor out push/pop frame into macros.Josh Haberman
2011-05-19Change dispatcher error handling model.Joshua Haberman
Now the dispatcher will call error handlers instaed of returning statuses that the caller has to constantly check.
2011-05-10Fix JIT for new interface.Joshua Haberman
2011-05-10Fix aliasing violation.Joshua Haberman
2011-05-10Vastly improved/simplified the upb_handlers API.Joshua Haberman
2011-05-08More renaming.Joshua Haberman
2011-05-08Documentation, some type renaming, nix unknown handler for now.Joshua Haberman
2011-05-08Split upb_stream -> upb_bytestream/upb_handlers.Joshua Haberman
2011-05-08Decoder redesign in preparation for packed fields and start/endseq.Joshua Haberman
2011-05-06Refactor varint encoding/decoding.Joshua Haberman
2011-04-25Revise/clarify comment about clear() implementation.Joshua Haberman
2011-04-15Calculate and print string sizes in test messages.Joshua Haberman
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback