mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-08 03:08:53 +00:00
5b743079da
Summary: Chopping the amount of code generated by Thrift for PHP services by two orders of magnitude (approx 25% of the previous size). This is done via putting more logic in a dynamic base class and taking it out of the generated code. Hopefully this wins back the CPU cycles paid just to load code from APC at the cost of a marginal increase in dynamic execution runtime. Reviewed By: sgrimm, dreiss Test Plan: Ran all the tests in trunk/test/php, also tested the API generate code and Falcon, etc. in my sandbox git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665328 13f79535-47bb-0310-9956-ffa450edef68
26 lines
405 B
Makefile
26 lines
405 B
Makefile
# Makefile for Thrift test project.
|
|
#
|
|
# Author:
|
|
# Mark Slee <mcslee@facebook.com>
|
|
|
|
# Default target is everything
|
|
target: all
|
|
|
|
# Tools
|
|
THRIFT = ../../compiler/cpp/thrift
|
|
|
|
all: normal inline
|
|
|
|
normal: stubs
|
|
|
|
inline: stubs-inline
|
|
|
|
stubs: ../ThriftTest.thrift
|
|
$(THRIFT) --phpl ../ThriftTest.thrift
|
|
|
|
stubs-inline: ../ThriftTest.thrift
|
|
$(THRIFT) --phpi ../ThriftTest.thrift
|
|
|
|
clean:
|
|
rm -fr gen-php gen-phpi
|